From e3bb506579f395c5dbca3d9f0e1e10a18170240f Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 26 四月 2021 15:01:15 +0800
Subject: [PATCH] Merge branch 'htwms' of https://gitee.com/luxiaotao1123/wms-cloud into htwms

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

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

--
Gitblit v1.9.1