From 528d0da19f5fc3f5c78af3c99a1f2cfa914a27dd Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 01 二月 2024 17:00:08 +0800
Subject: [PATCH] #

---
 zy-asrs-common/src/main/resources/mapper/wms/OrderMapper.xml |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/zy-asrs-common/src/main/resources/mapper/wms/OrderMapper.xml b/zy-asrs-common/src/main/resources/mapper/wms/OrderMapper.xml
index 497be26..9d7c276 100644
--- a/zy-asrs-common/src/main/resources/mapper/wms/OrderMapper.xml
+++ b/zy-asrs-common/src/main/resources/mapper/wms/OrderMapper.xml
@@ -14,4 +14,17 @@
         and id = #{orderId}
     </update>
 
+    <update id="updateSettle">
+        update wms_order
+        set settle = #{settle}
+        ,update_time = getdate()
+        <if test="userId != null">
+            ,update_by = #{userId}
+        </if>
+        where 1=1
+        and id = #{orderId}
+        and host_id = #{hostId}
+    </update>
+
+
 </mapper>

--
Gitblit v1.9.1