diff --git a/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml b/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml index d0f8c44f..c5e7e924 100644 --- a/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml +++ b/jshERP-boot/src/main/resources/mapper_xml/MaterialMapperEx.xml @@ -143,7 +143,7 @@ and ifnull(m.delete_flag,'0') !='1' - ORDER BY me.id desc + ORDER BY m.id desc,me.default_flag desc limit #{offset},#{rows}