From a440992f23e33ccf9e0f6d52079e9b16813ead59 Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期二, 14 一月 2025 14:57:06 +0800
Subject: [PATCH] 优化MES调拨信息上报及库位查询逻辑

---
 src/main/resources/mapper/OrderMapper.xml |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/OrderMapper.xml b/src/main/resources/mapper/OrderMapper.xml
index 59deacc..2c8443e 100644
--- a/src/main/resources/mapper/OrderMapper.xml
+++ b/src/main/resources/mapper/OrderMapper.xml
@@ -42,6 +42,13 @@
 
     </resultMap>
 
+    <update id="updateTel">
+        update man_order
+        set tel = #{tel}
+        where 1=1
+        and id = #{orderId}
+    </update>
+
     <update id="updateSettle">
         update man_order
         set settle = #{settle}
@@ -53,6 +60,16 @@
         and id = #{orderId}
     </update>
 
+    <update id="updateSettle2">
+        update man_order
+        set settle = #{settle}
+        ,update_time = getdate()
+        ,plt_type = #{plt}
+        ,in_time = #{inTime}
+        where 1=1
+        and id = #{orderId}
+    </update>
+
     <select id="selectComplete" resultMap="BaseResultMap">
         select TOP 5 *
         from man_order

--
Gitblit v1.9.1