gongdecai 1 년 전
부모
커밋
a4b743a7f2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      unimall-admin-api/src/main/java/com/iotechn/unimall/admin/api/huiyuan/impl/SalesSlipServiceImpl.java

+ 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);