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