Browse Source

fix: 修改装卸明细

visual
pref_mail@163.com 3 months ago
parent
commit
e81d4d7a5d
  1. 2
      blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsOrderMapper.xml

2
blade-service/logpm-trunkline/src/main/java/com/logpm/trunkline/mapper/TrunklineCarsOrderMapper.xml

@ -175,7 +175,7 @@
select ltco.order_code orderCode, select ltco.order_code orderCode,
ltco.waybill_no waybillNo, ltco.waybill_no waybillNo,
ltco.plan_num planNum, 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, lww.check_user_name checkUserName,
IFNULL(sum(ltcls.unload_num),0) unloadNum, IFNULL(sum(ltcls.unload_num),0) unloadNum,
IFNULL(lww.total_freight/lww.total_count*ltwo.total_number,0) orderFreight, IFNULL(lww.total_freight/lww.total_count*ltwo.total_number,0) orderFreight,

Loading…
Cancel
Save