安装市场bot:检查是否安装问题修复
This commit is contained in:
parent
43159e6a4d
commit
0703bef68b
|
|
@ -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!");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue