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 aff88763d..5db7938a1 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 @@ -184,12 +184,11 @@ public class ReportDeliverServiceImpl implements ReportDeliverService { page1.setCurrent(zeroCurrent); long limitA = 0; long limitB = 0; - if (NumberUtil.equals(zeroCurrent, 1)) { - if(zeroSize == 0){ - zeroSize = size; - } - } else { - limitA = zeroSize + (zeroCurrent - 1) * size; + if(zeroSize == 0){ + zeroSize = size; + } + if (!NumberUtil.equals(zeroCurrent, 1)) { + limitA = zeroSize + (zeroCurrent - 2) * size; zeroSize = size; } limitB = zeroSize;