|
|
@ -58,11 +58,12 @@ public class AllocationBillServiceImpl extends ServiceImpl<AllocationBillMapper, |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@SaIgnore |
|
|
|
public CommonPage<AllocationBill> allocationPage(AllocationBillQuery params) { |
|
|
|
public CommonPage<AllocationBill> allocationPage(AllocationBillQuery params) throws InterruptedException { |
|
|
|
// 查询总记录数
|
|
|
|
long totalCount = allocationBillMapper.getAllocationCount(); |
|
|
|
Page<AllocationBill> pageObject = new Page<>(params.getPage(), params.getSize()); |
|
|
|
Page<AllocationBill> allocationBills = allocationBillMapper.allocationPage(pageObject, params.getFuzzy()); |
|
|
|
Thread.sleep(5000); |
|
|
|
return CommonPage.getPage(allocationBills, totalCount); |
|
|
|
} |
|
|
|
|
|
|
|