From 9268cd77b4e864b901a8b0bf965f441f2e8c4fbd Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期日, 04 一月 2026 08:06:14 +0800
Subject: [PATCH] #1

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

diff --git a/src/main/resources/mapper/WrkDetlMapper.xml b/src/main/resources/mapper/WrkDetlMapper.xml
index 3195c97..d483d58 100644
--- a/src/main/resources/mapper/WrkDetlMapper.xml
+++ b/src/main/resources/mapper/WrkDetlMapper.xml
@@ -81,6 +81,15 @@
         <include refid="batchSeq"></include>
     </update>
 
+    <update id="updateWorkNo">
+        update asr_wrk_detl
+        set wrk_no = #{newWrkNo}
+        , modi_time = getdate()
+        , io_time = #{now}
+        where 1=1
+        and wrk_no = #{oldWrkNo}
+    </update>
+
     <select id="selectAndLogByOrderNo" resultMap="BaseResultMap">
         select * from asr_wrk_detl where order_no = #{orderNo}
         union

--
Gitblit v1.9.1