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