Procházet zdrojové kódy

引擎加载规则判断

0027005599 před 1 rokem
rodič
revize
428818a371

+ 1 - 1
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/medical/ruleengine/SPELUtil.java

@@ -304,7 +304,7 @@ public class SPELUtil {
     public static Boolean isMemberObjectAndObject(Object srcObj, Object memberObj) {
 
         if (null != srcObj && null != memberObj) {
-            boolean srcFlag = srcObj.toString().contains(memberObj.toString());
+            boolean srcFlag = srcObj.toString().startsWith(memberObj.toString());
 
             return srcFlag;
         }