Browse Source

feat(all): 订单总成本

1 修改订单总成本不正确问题
dev
zhaoqiaobo 1 month ago
parent
commit
2b003f32c8
  1. 7
      blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/job/ExpenseJob.java

7
blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/job/ExpenseJob.java

@ -144,7 +144,11 @@ public class ExpenseJob {
if (CollUtil.isNotEmpty(qualityDeliverEntities)) {
for (QualityDeliverEntity entity : qualityDeliverEntities) {
if (StrUtil.isEmpty(entity.getOrderCode()) || StrUtil.isEmpty(entity.getWaybillNumber())) {
log.info("订单或运单为空,不生成订单总成本报表:id = {}", entity.getId());
log.info("dayWarehouseExpenseJob 订单或运单为空,不生成订单总成本报表:id = {}", entity.getId());
continue;
}
if (ObjectUtil.isEmpty(entity.getSignNum())) {
log.info("dayWarehouseExpenseJob 签收数量为空:{}, {}", entity.getOrderCode(), entity.getWaybillNumber());
continue;
}
String key = entity.getOrderCode() + entity.getWaybillNumber();
@ -367,6 +371,7 @@ public class ExpenseJob {
//
return ReturnT.SUCCESS;
}
/**
* 月度配送成本报表
*

Loading…
Cancel
Save