From 0142e910dffd0255a4a4a1192cedd2ba0b0e71ab Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期三, 14 七月 2021 16:57:35 +0800
Subject: [PATCH] 下架正式接口: 当[(库存数量-出库通知档数量) < 下架数量]时不允许下架

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

diff --git a/src/main/resources/mapper/WaitPakOutMapper.xml b/src/main/resources/mapper/WaitPakOutMapper.xml
index 4b6b815..245bf1b 100644
--- a/src/main/resources/mapper/WaitPakOutMapper.xml
+++ b/src/main/resources/mapper/WaitPakOutMapper.xml
@@ -46,6 +46,10 @@
 	select count(*) from cust_wait_pakout where ems_status = 1
 </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