ソースを参照

引擎加载规则判断

0027005599 1 年間 前
コミット
db1885e7f6

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

@@ -862,7 +862,7 @@ public class RuleEngine {
                 for (MedicalInsRuleProjectDiagnose medicalInsRuleProjectDiagnose : projectDiagnoseList) {
                     projectCodeList.add(medicalInsRuleProjectDiagnose.getMedicalInsProjectCode());
                 }
-                List<MedicalInsRuleProject> medicalInsRuleProjectTempList = medicalInsRuleProjectService.lambdaQuery().in(MedicalInsRuleProject::getProjectCode)
+                List<MedicalInsRuleProject> medicalInsRuleProjectTempList = medicalInsRuleProjectService.lambdaQuery().in(MedicalInsRuleProject::getProjectCode, projectCodeList)
                         .in(MedicalInsRuleProject::getMedicalInsRuleInfoId, diagRuleIdList).list();
                 if (CollectionUtil.isNotEmpty(medicalInsRuleProjectTempList)) {
                     Set<Integer> ruleIdSet = medicalInsRuleProjectTempList.stream().map(MedicalInsRuleProject::getMedicalInsRuleInfoId).collect(Collectors.toSet());