From c6e38b6c66de5f5a8df5b8b2ab03a82c3b605db8 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期三, 03 十二月 2025 00:48:44 +0800
Subject: [PATCH] feat:优化同步

---
 ruoyi-system/src/main/resources/mapper/system/LegacyTransferSyncMapper.xml |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/ruoyi-system/src/main/resources/mapper/system/LegacyTransferSyncMapper.xml b/ruoyi-system/src/main/resources/mapper/system/LegacyTransferSyncMapper.xml
index 7905aa7..8000982 100644
--- a/ruoyi-system/src/main/resources/mapper/system/LegacyTransferSyncMapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/LegacyTransferSyncMapper.xml
@@ -10,6 +10,7 @@
         <result property="ServiceOrdUserID" column="ServiceOrdUserID" />
         <result property="ServiceOrdAreaType" column="ServiceOrdAreaType" />
         <result property="ServiceOrdType" column="ServiceOrdType" />
+        <result property="ServiceOrdNo" column="ServiceOrdNo" />
         <result property="ServiceOrdTraTxnPrice" column="ServiceOrdTraTxnPrice" />
         <result property="ServiceOrdPtOutHospID" column="ServiceOrdPtOutHospID" />
         <result property="ServiceOrdPtServicesID" column="ServiceOrdPtServicesID" />
@@ -47,6 +48,7 @@
     <!-- 鎵ц浜虹粨鏋滄槧灏� -->
     <resultMap type="java.util.HashMap" id="AssigneeResult">
         <result property="EntourageOAId" column="EntourageOAId" />
+        <result property="EntourageID" column="EntourageID" />
         <result property="EntourageState" column="EntourageState" />
     </resultMap>
     
@@ -55,6 +57,7 @@
         SELECT 
             a.ServiceOrdID,
             a.Old_ServiceOrdID_TXT,
+            a.ServiceOrdNo,
             a.ServiceOrdTraVia,
             a.ServiceOrdApptDate,
             a.ServiceOrd_NS_ID,
@@ -102,6 +105,7 @@
             a.ServiceOrdID,
             a.Old_ServiceOrdID_TXT,
             a.ServiceOrdTraVia,
+            a.ServiceOrdNo,
             a.ServiceOrdApptDate,
             a.ServiceOrdUserID,
             a.ServiceOrd_NS_ID,
@@ -153,6 +157,7 @@
     <select id="selectAssigneesByDispatchOrdID" resultMap="AssigneeResult">
         SELECT 
             EntourageOAId,
+            EntourageID,
             EntourageState
         FROM DispatchOrd_Entourage 
         WHERE DispatchOrdIDDt = #{dispatchOrdID}

--
Gitblit v1.9.1