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