Merge remote-tracking branch 'origin/fix-bug-202303' into fix-bug-202303

This commit is contained in:
梁琦涛
2023-04-07 10:36:32 +08:00
10 changed files with 54 additions and 38 deletions
@@ -84,7 +84,7 @@ public class SysCheckRuleController extends JeroController<SysCheckRule, ISysChe
return Results.error("该编码不存在");
}
JSONObject errorResult = sysCheckRuleService.checkValue(sysCheckRule, URLDecoder.decode(value, "UTF-8"));
if (errorResult == null) {
if (errorResult.isEmpty()) {
return Results.OK();
} else {
Results<Object> r = Results.error(errorResult.getString("message"));