From 649f502728e36428275db8969695cecff4ac5e55 Mon Sep 17 00:00:00 2001
From: admin <841110950@qq.com>
Date: 星期三, 25 八月 2021 17:08:35 +0800
Subject: [PATCH] 1.0.0
---
src/main/resources/mapper/LocDetlMapper.xml | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index 6551419..66f1960 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -69,4 +69,18 @@
and b.loc_sts = 'F'
<include refid="stockOutCondition"></include>
</select>
+
+ <select id="selectLocDetlList" resultMap="BaseResultMap">
+ select a.*
+ from asr_loc_detl a
+ left join asr_loc_mast b on a.loc_no = b.loc_no
+ where 1=1
+ and b.loc_sts = 'F' and a.mat_no= #{mat_no}
+ order by a.appe_time
+ </select>
+ <select id="selectLocDetlSumQty" resultType="double">
+ select SUM(qty) qty
+ from asr_loc_detl
+ where loc_no=#{locNo}
+ </select>
</mapper>
--
Gitblit v1.9.1