Jelajahi Sumber

引擎加载规则判断

0027005599 1 tahun lalu
induk
melakukan
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());
                 }