fix():启动/禁用状态接口异常

yuan
yuan 2024-08-25 10:23:59 +08:00
parent 8194b36a12
commit 11c07624b6
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ public class RuleDataServiceImpl
if (!isExists) { if (!isExists) {
throw new ServiceException("操作规则不存在"); throw new ServiceException("操作规则不存在");
} }
if (SystemYesNo.isCode(status)){ if (!SystemYesNo.isCode(status)){
throw new ServiceException("设置状态值违法"); throw new ServiceException("设置状态值违法");
} }
LambdaUpdateWrapper<RuleData> updateWrapper = new LambdaUpdateWrapper<>(); LambdaUpdateWrapper<RuleData> updateWrapper = new LambdaUpdateWrapper<>();