From 8050285fdb292d324d36b44f112b287214a0a573 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期一, 13 十月 2025 16:47:07 +0800
Subject: [PATCH] 对接

---
 src/main/resources/mapper/asrs/OrderDetlMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/resources/mapper/asrs/OrderDetlMapper.xml b/src/main/resources/mapper/asrs/OrderDetlMapper.xml
index fe3f6a5..e2b9d92 100644
--- a/src/main/resources/mapper/asrs/OrderDetlMapper.xml
+++ b/src/main/resources/mapper/asrs/OrderDetlMapper.xml
@@ -203,12 +203,12 @@
     <update id="increaseWorkQty2">
         update man_order_detl
         set work_qty = work_qty + #{workQty}
+        <if test="color!=null and color!='' ">
+            , color = #{color}
+        </if>
         where 1=1
         and order_id = #{orderId}
         and matnr = #{matnr}
-        <if test="color!=null and color!='' ">
-            and color = #{color}
-        </if>
         <choose>
             <when test="batch != null and batch != ''">
                 and batch = #{batch}

--
Gitblit v1.9.1