From 69b16c271110dfceb8b38e835dad0fdc0730a90b Mon Sep 17 00:00:00 2001
From: tqs <56479841@qq.com>
Date: 星期二, 05 十二月 2023 08:17:58 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/mapper/PakoutMapper.xml b/src/main/resources/mapper/PakoutMapper.xml
index e958c45..751eabe 100644
--- a/src/main/resources/mapper/PakoutMapper.xml
+++ b/src/main/resources/mapper/PakoutMapper.xml
@@ -33,4 +33,27 @@
 
     </resultMap>
 
+    <update id="updateWrkSts">
+        update man_pakout
+        set wrk_sts = #{wrkSts}
+        , update_by = #{userId}
+        , update_time = getdate()
+        where 1=1
+        <if test="wrkNo != null and wrkNo != ''">
+            and wrk_no = #{wrkNo}
+        </if>
+        <if test="docNum != null and docNum != ''">
+            and doc_num = #{docNum}
+        </if>
+    </update>
+
+    <update id="updateStep">
+        update man_pakout
+        set memo = '1'
+        , update_time = getdate()
+        where 1=1
+        and wrk_no = #{wrkNo}
+        and doc_num = #{docNum}
+    </update>
+
 </mapper>

--
Gitblit v1.9.1