|
|
@@ -9,6 +9,7 @@ import org.jeecg.common.api.vo.Result;
|
|
|
import org.jeecg.common.constant.CommonConstant;
|
|
|
import org.jeecg.common.util.DateUtils;
|
|
|
import org.jeecg.modules.medical.Constant;
|
|
|
+import org.jeecg.modules.medical.SystemEventAttrConstant;
|
|
|
import org.jeecg.modules.medical.entity.AdviceDetailsVO;
|
|
|
import org.jeecg.modules.medical.entity.DiagnosesVO;
|
|
|
import org.jeecg.modules.medical.entity.FactorEnchance;
|
|
|
@@ -390,6 +391,14 @@ public class RuleEngine {
|
|
|
for (Integer medicalRuleInsInfoId : enchanceTypeMap.keySet()) {
|
|
|
MedicalInsRuleInfo medicalInsRuleInfo = medicalInsRuleInfoService.getById(medicalRuleInsInfoId);
|
|
|
List<FactorEnchance> factorEnchanceListTemp = enchanceTypeMap.get(medicalRuleInsInfoId);
|
|
|
+ paramMap.put(SystemEventAttrConstant.MEDICAL_INS_RULE_INFO_ID, medicalRuleInsInfoId);
|
|
|
+// List<MedicalInsRuleProject> medicalInsRuleProjectList = medicalInsRuleProjectService.lambdaQuery().eq(MedicalInsRuleProject::getMedicineInsRuleInfoId, medicalRuleInsInfoId).list();
|
|
|
+// if(CollectionUtil.isNotEmpty(medicalInsRuleProjectList)) {
|
|
|
+// String projectJsonStr = JSON.toJSONString(medicalInsRuleProjectList);
|
|
|
+// List<Map<String,Object>> projectList = (List<Map<String, Object>>) JSON.parse(projectJsonStr);
|
|
|
+// paramMap.put(SystemEventAttrConstant.MEDICAL_INS_RULE_PROJECT, projectList);
|
|
|
+//
|
|
|
+// }
|
|
|
|
|
|
factorEnchangeFactory.runFactorEnchange(medicalRuleInsInfoId, medicalInsRuleInfo, midIncidentAudit, paramMap, factorEnchangeIdList, factorEnchanceListTemp);
|
|
|
}
|