From e2544894b3b10187a838e16af6dff02166658511 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 22 四月 2021 15:06:57 +0800
Subject: [PATCH] #

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

diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index a2f2421..570a39a 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -205,4 +205,9 @@
         group by a.matnr
     </select>
 
+    <select id="getStockByDocType34" resultType="java.lang.Double">
+        select ISNULL(count(anfme),0) as anfme from man_loc_detl where matnr = #{matnr}
+        -- and doc_id = 34
+    </select>
+
 </mapper>

--
Gitblit v1.9.1