From 9fc2da5ed4400d616fcddb25a802454de1854fef Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 12 十月 2022 13:05:27 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/mapper/WrkMastMapper.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/mapper/WrkMastMapper.java b/src/main/java/com/zy/asrs/mapper/WrkMastMapper.java
index 692d1b9..b8147d7 100644
--- a/src/main/java/com/zy/asrs/mapper/WrkMastMapper.java
+++ b/src/main/java/com/zy/asrs/mapper/WrkMastMapper.java
@@ -4,6 +4,7 @@
 import com.zy.asrs.entity.WrkMast;
 import org.apache.ibatis.annotations.Mapper;
 import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Update;
 import org.springframework.stereotype.Repository;
 
 import java.util.List;
@@ -21,4 +22,7 @@
 
     WrkMast selectBySourceLocNoOfPakout(@Param("sourceLocNo") String sourceLocNo);
 
+    @Update("update asr_wrk_mast set ste_no = null where wrk_no = #{wrkNo}")
+    int setSteEmpty(Integer wrkNo);
+
 }

--
Gitblit v1.9.1