From 057fd958174c85f8bcb0868d9f91fdd53da7d086 Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Thu, 20 Mar 2025 13:12:25 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=95=86=E5=93=81=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E7=9A=84sql=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 1ca17a484..f1769d3e1 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml @@ -445,7 +445,7 @@ select me.material_id, me.bar_code, me.commodity_unit from jsh_material_extend me where me.default_flag=0 and (me.sku='' or me.sku is null) and ifnull(me.delete_Flag,'0') !='1' - group by me.material_id + group by me.material_id, me.bar_code, me.commodity_unit