diff --git a/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportDeliverServiceImpl.java b/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportDeliverServiceImpl.java index c0c0d36ce..bdfacbe2e 100644 --- a/blade-service/logpm-report/src/main/java/com/logpm/report/service/impl/ReportDeliverServiceImpl.java +++ b/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());