gongdecai 1 年之前
父節點
當前提交
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("admin_id", adminId);
         }
         }
         wrapper.eq("delete_flag", 0);
         wrapper.eq("delete_flag", 0);
+        wrapper.orderBy("gmt_create",false);
         List<SalesSlip> list = salesSlipMapper.selectPage(new RowBounds((page - 1) * limit, limit), wrapper);
         List<SalesSlip> list = salesSlipMapper.selectPage(new RowBounds((page - 1) * limit, limit), wrapper);
         Integer count = salesSlipMapper.selectCount(wrapper);
         Integer count = salesSlipMapper.selectCount(wrapper);
         return new Page<SalesSlip>(list, page, limit, count);
         return new Page<SalesSlip>(list, page, limit, count);