【fix bug】系统校验规则-功能测试弹框,出现错误提示
This commit is contained in:
+1
-1
@@ -84,7 +84,7 @@ public class SysCheckRuleController extends JeroController<SysCheckRule, ISysChe
|
|||||||
return Results.error("该编码不存在");
|
return Results.error("该编码不存在");
|
||||||
}
|
}
|
||||||
JSONObject errorResult = sysCheckRuleService.checkValue(sysCheckRule, URLDecoder.decode(value, "UTF-8"));
|
JSONObject errorResult = sysCheckRuleService.checkValue(sysCheckRule, URLDecoder.decode(value, "UTF-8"));
|
||||||
if (errorResult == null) {
|
if (errorResult.isEmpty()) {
|
||||||
return Results.OK();
|
return Results.OK();
|
||||||
} else {
|
} else {
|
||||||
Results<Object> r = Results.error(errorResult.getString("message"));
|
Results<Object> r = Results.error(errorResult.getString("message"));
|
||||||
|
|||||||
Reference in New Issue
Block a user