From dda1b702b20588280124cc848f89d73f3a390774 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期三, 31 八月 2022 16:17:37 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/ManLocDetlMapper.xml |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/main/resources/mapper/ManLocDetlMapper.xml b/src/main/resources/mapper/ManLocDetlMapper.xml
index b246a85..184ce81 100644
--- a/src/main/resources/mapper/ManLocDetlMapper.xml
+++ b/src/main/resources/mapper/ManLocDetlMapper.xml
@@ -219,7 +219,7 @@
     </select>
     <select id="selectLocDetlSumQty" resultType="java.lang.Double"></select>
 
-    <select id="selectLocNo0" resultType="com.zy.asrs.entity.ManLocDetl">
+    <select id="selectLocNo0" resultMap="BaseResultMap">
         select * from man_loc_detl
         where loc_no = #{locNo}
         and matnr = #{matnr}
@@ -230,10 +230,16 @@
         update man_loc_detl set loc_no = #{locNo}
         where node_id = #{nodeId}
     </update>
-    <update id="deleteLocNo0">
+
+    <delete id="deleteLocNo0">
         delete from man_loc_detl
         where loc_no = #{locNo}
         and matnr = #{matnr}
+    </delete>
+
+    <update id="updateAnfme0">
+        update man_loc_detl set anfme = #{anfme}
+        where node_id = #{nodeId} ;
     </update>
 
 </mapper>

--
Gitblit v1.9.1