安装市场bot:检查是否安装问题修复

This commit is contained in:
wanjia 2023-04-12 10:21:51 +08:00
parent 43159e6a4d
commit 0703bef68b
1 changed files with 1 additions and 1 deletions

View File

@ -711,7 +711,7 @@ public class UserService extends AbstractUserBot implements IUserService {
//1.校验有没有安装过此Bot
List<InstallBot> installBots = installMapper.selectList(Wrappers.<InstallBot>lambdaQuery()
.eq(InstallBot::getBotId,installMarketBotRequest.getBotId())
.in(InstallBot::getRepoOwner,installMarketBotRequest.getStoreList()));
.in(InstallBot::getStoreId,installMarketBotRequest.getStoreList()));
if (installBots.size()>0){
throw new BotException("存在仓库已经安装过此Bot");
}