diff --git a/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml index 1ca17a48..f1769d3e 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