From 705329215ddadc8b3c577099492b753da0135403 Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Sun, 20 Apr 2025 22:59:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=95=86=E5=93=81=E5=BA=93?= =?UTF-8?q?=E5=AD=98=E6=8A=A5=E8=A1=A8=E6=9F=A5=E8=AF=A2=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml index aaa15267..a6001dde 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml @@ -689,7 +689,7 @@ and ifnull(m.delete_flag,'0') !='1' group by m.id, m.name, m.standard, m.model, m.color, m.brand, m.mfrs, m.position, - me.commodity_unit, mc.name, me.bar_code, me.purchase_decimal, mcs.current_unit_price + me.commodity_unit, mc.name, me.bar_code, ifnull(me.purchase_decimal,0), ifnull(mcs.current_unit_price,0) having ifnull(sum(mcs.current_number),0)!=0