Browse Source

feat(all): 修改配送明细报表逻辑

dist.1.3.0
zhaoqiaobo 6 months ago
parent
commit
ee0d349b31
  1. 2
      blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportDeliverServiceImpl.java

2
blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportDeliverServiceImpl.java

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

Loading…
Cancel
Save