From f25c800bca726b67ea74e6ed576b038b1b9561a7 Mon Sep 17 00:00:00 2001
From: 18516761980 <4761516tqsxp>
Date: 星期一, 16 八月 2021 08:22:57 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/mapper/WaitPakOutMapper.xml b/src/main/resources/mapper/WaitPakOutMapper.xml
index 65dc579..af471a0 100644
--- a/src/main/resources/mapper/WaitPakOutMapper.xml
+++ b/src/main/resources/mapper/WaitPakOutMapper.xml
@@ -38,6 +38,18 @@
 </where>
 </select>
 
+<update id="waitPakOutSetEms">
+	update cust_wait_pakout set ems_status = 1 where lgnum=#{lgnum} and tanum = #{tanum} and tapos = #{tapos}
+</update>
+
+<select id="countEmsNum" resultType="integer">
+	select count(*) from (select vlpla from cust_wait_pakout where ems_status = 1 group by vlpla) t;
+</select>
+
+<select id="queryWaitOutPak" resultType="com.slcf.pojo.WaitPakOutBean">
+	select * from cust_wait_pakout where vlpla = #{vlpla} and matnr = #{matnr}
+</select>
+
 <select id="getWaitPakOutCount" parameterType="com.slcf.bean.WaitPakOutCondition"	resultType="Integer">
 select count(1) from cust_wait_pakout a
 <where>

--
Gitblit v1.9.1