fix():启动/禁用状态接口异常
parent
8194b36a12
commit
11c07624b6
|
@ -74,7 +74,7 @@ public class RuleDataServiceImpl
|
|||
if (!isExists) {
|
||||
throw new ServiceException("操作规则不存在");
|
||||
}
|
||||
if (SystemYesNo.isCode(status)){
|
||||
if (!SystemYesNo.isCode(status)){
|
||||
throw new ServiceException("设置状态值违法");
|
||||
}
|
||||
LambdaUpdateWrapper<RuleData> updateWrapper = new LambdaUpdateWrapper<>();
|
||||
|
|
Loading…
Reference in New Issue