From 4d76ec2cc1cbbf9f192d532922c2d0a05900f510 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期五, 23 四月 2021 11:40:23 +0800
Subject: [PATCH] #

---
 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