gongdecai hai 1 ano
pai
achega
a4b743a7f2

+ 1 - 0
unimall-admin-api/src/main/java/com/iotechn/unimall/admin/api/huiyuan/impl/SalesSlipServiceImpl.java

@@ -107,6 +107,7 @@ public class SalesSlipServiceImpl implements ISalesSlipService {
             wrapper.eq("admin_id", adminId);
         }
         wrapper.eq("delete_flag", 0);
+        wrapper.orderBy("gmt_create",false);
         List<SalesSlip> list = salesSlipMapper.selectPage(new RowBounds((page - 1) * limit, limit), wrapper);
         Integer count = salesSlipMapper.selectCount(wrapper);
         return new Page<SalesSlip>(list, page, limit, count);