Browse Source

引擎加载规则判断

0027005599 1 năm trước cách đây
mục cha
commit
f89a3d4186

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

@@ -858,7 +858,7 @@ public class RuleEngine {
         if (CollectionUtil.isNotEmpty(diagRuleIdList)) {
             List<MedicalInsRuleProjectDiagnose> projectDiagnoseList = medicalInsRuleProjectDiagnoseService.getRuleProjectByDiagCodeAndRuleId(diagRuleIdList, diagnoseList);
             if (CollectionUtil.isNotEmpty(projectDiagnoseList)) {
-                List<String> projectCodeList = new ArrayList<>();
+                Set<String> projectCodeList = new HashSet<>();
                 for (MedicalInsRuleProjectDiagnose medicalInsRuleProjectDiagnose : projectDiagnoseList) {
                     projectCodeList.add(medicalInsRuleProjectDiagnose.getMedicalInsProjectCode());
                 }