From 37286cd9b177e9a1b8f28bfbc054c8cfedec6a5e Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期四, 26 八月 2021 08:50:57 +0800
Subject: [PATCH] Merge branch 'xgmasrs' of https://gitee.com/luxiaotao1123/zy-asrs into xgmasrs
---
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