Browse Source

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

dist.1.3.0
zhaoqiaobo 6 months ago
parent
commit
892673c9f7
  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

@ -182,7 +182,7 @@ public class ReportDeliverServiceImpl implements ReportDeliverService {
int zeroSize = zeroTotal % size;
IPage<ReportDetailVO> page1 = Condition.getPage(query);
page1.setCurrent(zeroCurrent);
if (ObjectUtil.equals(zeroCurrent, 1)) {
if (NumberUtil.equals(zeroCurrent, 1)) {
page1.setSize(zeroSize);
} else {
page1.setSize(size);

Loading…
Cancel
Save