diff --git a/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml index ec5c3728..9284c606 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml @@ -547,7 +547,7 @@ ) and ifnull(m.delete_flag,'0') !='1' - order by me.id desc + order by m.id desc, me.default_flag desc, me.id asc