Browse Source

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

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

5
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); page1.setCurrent(zeroCurrent);
long limitA = 0; long limitA = 0;
long limitB = 0; long limitB = 0;
if (NumberUtil.equals(zeroCurrent, 1)) {
if(zeroSize == 0){ if(zeroSize == 0){
zeroSize = size; zeroSize = size;
} }
} else { if (!NumberUtil.equals(zeroCurrent, 1)) {
limitA = zeroSize + (zeroCurrent - 1) * size; limitA = zeroSize + (zeroCurrent - 2) * size;
zeroSize = size; zeroSize = size;
} }
limitB = zeroSize; limitB = zeroSize;

Loading…
Cancel
Save