From a5aa5e9a7b833e51dff88332868ccb60259494e1 Mon Sep 17 00:00:00 2001 From: zhangchao Date: Fri, 7 Jun 2024 08:07:34 +0800 Subject: [PATCH] =?UTF-8?q?#fix:=E4=BC=98=E5=8C=96=E9=A2=84=E5=BB=BA?= =?UTF-8?q?=E6=A1=A3=E5=BB=BA=E6=A1=A3=E5=8C=BB=E7=94=9F=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lyms/platform/operate/web/facade/BookbuildingFacade.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java index ff6f0e4..1faad26 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java @@ -592,14 +592,17 @@ public class BookbuildingFacade { ArchiveData archiveData = new ArchiveData(); archiveData.setBuildDate(new Date()); archiveData.setId(tempP.getHospitalId() + ":" + tempP.getCardNo()); - archiveDataServicer.update(archiveData); if (CollectionUtils.isNotEmpty(list)) { Patients patients = new Patients(); if (list.get(0).getAssistUserId() != null && tempP.getId() != null) { patients.setAssistUserId(list.get(0).getAssistUserId()); - yunBookbuildingService.updatePregnant(patients, tempP.getId()); + }else { + patients.setAssistUserId(patients.getLastCheckEmployeeId()); + archiveData.setAssistUserId(patients.getLastCheckEmployeeId()); } + yunBookbuildingService.updatePregnant(patients, tempP.getId()); + archiveDataServicer.update(archiveData); } //自动诊断 antenatalExaminationFacade.autoPatientRisk(tempP, userId); -- 1.8.3.1