|
|
@ -174,7 +174,7 @@ public class ReportDeliverServiceImpl implements ReportDeliverService { |
|
|
|
long allTotal = total + detailsZeroPageCount; |
|
|
|
long allTotal = total + detailsZeroPageCount; |
|
|
|
// 包件没数据查零担
|
|
|
|
// 包件没数据查零担
|
|
|
|
int pageSize = current * size; |
|
|
|
int pageSize = current * size; |
|
|
|
if (detailsPage.size() < pageSize) { |
|
|
|
if (total < pageSize) { |
|
|
|
// 剩余需要查询的数量
|
|
|
|
// 剩余需要查询的数量
|
|
|
|
int zeroTotal = Convert.toInt(pageSize - total); |
|
|
|
int zeroTotal = Convert.toInt(pageSize - total); |
|
|
|
double div = NumberUtil.div(zeroTotal, size.doubleValue()); |
|
|
|
double div = NumberUtil.div(zeroTotal, size.doubleValue()); |
|
|
|