修改updateMarketBot

This commit is contained in:
623756217 2023-01-10 15:34:18 +08:00
parent bf1315dd20
commit cb69646c59
1 changed files with 1 additions and 1 deletions

View File

@ -954,7 +954,7 @@ public class UserService extends AbstractUserBot implements IUserService {
updateMarketBot.setId(marketBot.getId());
marketBotMapper.updateById(updateMarketBot);
//同步更新bot表信息
Bot bot = botMapper.selectById(marketBot.getId());
Bot bot = botMapper.selectById(marketBot.getBotId());
bot.setBotDes(updateMarketBot.getMarketIntro());
bot.setLogo(updateMarketBot.getLogo());
bot.setBotName(updateMarketBot.getMarketName());