Procházet zdrojové kódy

数据规则兼容非空

liuwenwen před 2 roky
rodič
revize
2edb035668

+ 4 - 4
server/src/main/java/edp/davinci/service/impl/DataRulesServiceImpl.java

@@ -37,10 +37,10 @@ public class DataRulesServiceImpl implements DataRulesService
             throw new ServerException("标准类型 ruleType is null ");
         }
 
-        if(dataRules.getRuleConfig() ==  null || dataRules.getRuleConfig().equals("{}")){
-
-            throw new ServerException("规则配置 ruleConfig is null ");
-        }
+//        if(dataRules.getRuleConfig() ==  null || dataRules.getRuleConfig().equals("{}")){
+//
+//            throw new ServerException("规则配置 ruleConfig is null ");
+//        }
 
         if(dataRules.getSubjectId() == null ){