From 3e867b935ca291a0555a31ffb324e8705df93be2 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期一, 09 八月 2021 08:11:35 +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