|
|
|
@ -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, |
|
|
|
|