From e81d4d7a5de6ab9a4207c7854e4e56c1fab0124a Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Sat, 26 Oct 2024 23:18:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E8=A3=85=E5=8D=B8?= =?UTF-8?q?=E6=98=8E=E7=BB=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/logpm/trunkline/mapper/TrunklineCarsOrderMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsOrderMapper.xml b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsOrderMapper.xml index cb82e1b8f..e52d5d9c2 100644 --- a/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsOrderMapper.xml +++ b/blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsOrderMapper.xml @@ -175,7 +175,7 @@ select ltco.order_code orderCode, ltco.waybill_no waybillNo, ltco.plan_num planNum, - sum(IF(ltcls.loading_abnormal is null or ltcls.loading_abnormal = '1',0,ltcls.num)) as loadingNum, + sum(IF(ltcls.loading_abnormal is null or ltcls.scan_status = '2',0,ltcls.num)) as loadingNum, lww.check_user_name checkUserName, IFNULL(sum(ltcls.unload_num),0) unloadNum, IFNULL(lww.total_freight/lww.total_count*ltwo.total_number,0) orderFreight,