From 2b003f32c8b9fd3d6687bf2b288dcc3f20869ba5 Mon Sep 17 00:00:00 2001 From: zhaoqiaobo <583671871@qq.com> Date: Mon, 24 Feb 2025 09:44:54 +0800 Subject: [PATCH] =?UTF-8?q?feat(all):=20=E8=AE=A2=E5=8D=95=E6=80=BB?= =?UTF-8?q?=E6=88=90=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1 修改订单总成本不正确问题 --- .../src/main/java/com/logpm/statistics/job/ExpenseJob.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/job/ExpenseJob.java b/blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/job/ExpenseJob.java index 67a94363e..26ea0c7e3 100644 --- a/blade-service/logpm-statisticsdata/src/main/java/com/logpm/statistics/job/ExpenseJob.java +++ b/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; } + /** * 月度配送成本报表 *