Browse Source

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

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

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

Loading…
Cancel
Save