Преглед на файлове

诊断编码为空的数据丢弃

0027005599 преди 2 години
родител
ревизия
627458f20e
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4 0
      jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/medical/job/OutpatientAuditLogJob.java

+ 4 - 0
jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/medical/job/OutpatientAuditLogJob.java

@@ -74,6 +74,9 @@ public class OutpatientAuditLogJob implements Job {
             doctorLevel = sysUserList.get(0).getDoctorLevel();
         }
         for (OutpatientSettlementDetails outpatientSettlementDetails : outpatientSettlementDetailsList) {
+            if(StringUtils.isBlank(outpatientSettleBill.getAdmissionDiseaseId())){
+                continue;
+            }
             afterIncidentDetailLog = new AfterIncidentDetailLog();
 
             afterIncidentDetailLog.setAfterIncidentLogId(afterIncidentLog.getId());
@@ -109,6 +112,7 @@ public class OutpatientAuditLogJob implements Job {
             afterIncidentDetailLog.setChangeClass(outpatientSettlementDetails.getPCategory());
 //            afterIncidentDetailLog.setInspectionSite();
 //            afterIncidentDetailLog.setOutHospDate(outpatientSettleBill.getDischargeDate());
+
             afterIncidentDetailLog.setDiagnoseCodeStr(outpatientSettleBill.getAdmissionDiseaseId().trim());
             afterIncidentDetailLog.setDiagnoseNameStr(outpatientSettleBill.getAdmissionDiseaseName().trim());
             afterIncidentDetailLog.setMedicalInsuranceMark(outpatientSettleBill.getPayMethod());