Browse Source

修改公式校验

xujiaheng 3 years ago
parent
commit
63914fc3e6

+ 1 - 1
src/main/java/com/persagy/apm/alarmservice/project/alarmcondition/service/impl/AlarmConditionServiceImpl.java

@@ -482,7 +482,7 @@ public class AlarmConditionServiceImpl extends ServiceImpl<AlarmConditionMapper,
             return validate(displayFormula.toString(), infoCodes);
         }
 
-        return ResultHelper.failure(ResponseCode.C0134.getCode(), "公式不合法");
+        return ResultHelper.success();
     }
 
     public static boolean isNumeric(String str) {