Explorar el Código

可靠性分析bug修复

xushili hace 2 años
padre
commit
fd481216e0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/main/java/com/gyee/frame/service/Alertrule2ervice.java

+ 1 - 1
src/main/java/com/gyee/frame/service/Alertrule2ervice.java

@@ -257,7 +257,7 @@ public class Alertrule2ervice implements BaseService<Alertrule2, Alertrule2Examp
             return null;
 
         Alertrule2 rule = rules.get(0);
-        String expression = "[AI,DI](.{4})";
+        String expression = "(([A][I])|([D][I]))([0-9]+)";
         List<String> list = StringUtils.pattern(rule.getExpression(), expression);
 
         return list;