From a5661dee86ebb48c2ee282b7e0621bb313eab296 Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期三, 19 二月 2025 10:53:11 +0800
Subject: [PATCH] BUG修改

---
 smartor/src/main/java/com/smartor/service/impl/ServiceExternalServiceImpl.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/smartor/src/main/java/com/smartor/service/impl/ServiceExternalServiceImpl.java b/smartor/src/main/java/com/smartor/service/impl/ServiceExternalServiceImpl.java
index c578dbc..3dae041 100644
--- a/smartor/src/main/java/com/smartor/service/impl/ServiceExternalServiceImpl.java
+++ b/smartor/src/main/java/com/smartor/service/impl/ServiceExternalServiceImpl.java
@@ -434,7 +434,9 @@
             patMedInhosp.setHospitalcode(externalInHospPatientInfo.getZuZhiJGID());
             patMedInhosp.setStarttime(externalInHospPatientInfo.getRuYuanSJ());
             patMedInhosp.setDeptcode(externalInHospPatientInfo.getDangQianKSID());
+            patMedInhosp.setLeaveldeptcode(externalInHospPatientInfo.getDangQianKSID());
             patMedInhosp.setDeptname(externalInHospPatientInfo.getDangQianKSMC());
+            patMedInhosp.setLeaveldeptname(externalInHospPatientInfo.getDangQianKSMC());
             patMedInhosp.setBedNo(externalInHospPatientInfo.getDangQianCWID());
             patMedInhosp.setOrgid(externalInHospPatientInfo.getZuZhiJGID());
             patMedInhosp.setHospitaldistrictid(externalInHospPatientInfo.getDangQianBQID());
@@ -443,7 +445,9 @@
             patMedInhosp.setOperator(externalInHospPatientInfo.getCaoZuoRXM());
             patMedInhosp.setOperatorId(externalInHospPatientInfo.getCaoZuoRID());
             patMedInhosp.setHospitaldistrictcode(externalInHospPatientInfo.getDangQianBQID());
+            patMedInhosp.setLeavehospitaldistrictcode(externalInHospPatientInfo.getDangQianBQID());
             patMedInhosp.setHospitaldistrictname(externalInHospPatientInfo.getDangQianBQMC());
+            patMedInhosp.setLeavehospitaldistrictname(externalInHospPatientInfo.getDangQianBQMC());
         }
         if (ObjectUtils.isNotEmpty(externalInHospPatientDiagnoseInfo)) {
             patMedInhosp.setIcd10code(StringUtils.isNotEmpty(patMedInhosp.getIcd10code()) ? patMedInhosp.getIcd10code() + "," + externalInHospPatientDiagnoseInfo.getZhenDuanID() : externalInHospPatientDiagnoseInfo.getZhenDuanID());

--
Gitblit v1.9.3