فهرست منبع

引擎加载规则判断

0027005599 1 سال پیش
والد
کامیت
8713d7cc2a

+ 2 - 2
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/medical/ruleengine/RuleEngine.java

@@ -866,7 +866,7 @@ public class RuleEngine {
                         .in(MedicalInsRuleProject::getMedicalInsRuleInfoId, diagRuleIdList).list();
                 if (CollectionUtil.isNotEmpty(medicalInsRuleProjectTempList)) {
                     Set<Integer> ruleIdSet = medicalInsRuleProjectTempList.stream().map(MedicalInsRuleProject::getMedicalInsRuleInfoId).collect(Collectors.toSet());
-                    log.error("有项目编码以诊断编码为主的诊断规则 诊断编码:{} 匹配的规则id:{} ", diagnoseList, ruleIdSet);
+                    log.info("有项目编码以诊断编码为主的诊断规则 诊断编码:{} 匹配的规则id:{} ", diagnoseList, ruleIdSet);
                     for (MedicalInsRuleProject medicalInsRuleProject : medicalInsRuleProjectTempList) {
                         medicalInsRuleProjectList.add(medicalInsRuleProject);
                     }
@@ -884,7 +884,7 @@ public class RuleEngine {
                 List<MedicalInsRuleProject> medicalInsRuleProjectDiagTempList = medicalInsRuleProjectService.lambdaQuery().in(MedicalInsRuleProject::getMedicalDiagnoseCode, diagnoseCodeList).in(MedicalInsRuleProject::getMedicalInsRuleInfoId, medicalRuleIdSet).list();
                 if (CollectionUtil.isNotEmpty(medicalInsRuleProjectDiagTempList)) {
                     Set<Integer> ruleIdSet = medicalInsRuleProjectDiagTempList.stream().map(MedicalInsRuleProject::getMedicalInsRuleInfoId).collect(Collectors.toSet());
-                    log.error("无项目编码以诊断编码为主的诊断规则 诊断编码:{} 匹配的规则id:{} ", diagnoseList, ruleIdSet);
+                    log.info("无项目编码以诊断编码为主的诊断规则 诊断编码:{} 匹配的规则id:{} ", diagnoseList, ruleIdSet);
                     for (MedicalInsRuleProject medicalInsRuleProject : medicalInsRuleProjectDiagTempList) {
                         medicalInsRuleProjectList.add(medicalInsRuleProject);
                     }