|
|
@ -2129,7 +2129,7 @@ |
|
|
|
logpm_distribution_loadscaninvn WHERE reservation_id = lds.reservation_id AND scan_status != 1 AND is_deleted = |
|
|
|
logpm_distribution_loadscaninvn WHERE reservation_id = lds.reservation_id AND scan_status != 1 AND is_deleted = |
|
|
|
0 ), 0 ) AS loadingQuantity, |
|
|
|
0 ), 0 ) AS loadingQuantity, |
|
|
|
IFNULL(( SELECT SUM( received_quantity ) FROM logpm_distribution_loadscan WHERE reservation_id = lds.reservation_id AND |
|
|
|
IFNULL(( SELECT SUM( received_quantity ) FROM logpm_distribution_loadscan WHERE reservation_id = lds.reservation_id AND |
|
|
|
is_deleted = 0 AND scan_status != 1 AND signfor_state = 2), 0 ) + IFNULL(( SELECT SUM( receivedin_quantity ) FROM |
|
|
|
is_deleted = 0 AND scan_status != 1 AND signfor_state = 2), 0 ) + IFNULL(( SELECT SUM( received_quantity ) FROM |
|
|
|
logpm_distribution_loadscaninvn WHERE reservation_id = lds.reservation_id AND scan_status != 1 AND is_deleted = |
|
|
|
logpm_distribution_loadscaninvn WHERE reservation_id = lds.reservation_id AND scan_status != 1 AND is_deleted = |
|
|
|
0 AND signfor_state = 2 ), 0 ) AS signforQuantity, |
|
|
|
0 AND signfor_state = 2 ), 0 ) AS signforQuantity, |
|
|
|
( SELECT IFNULL( GROUP_CONCAT( stockup_area ), '无备货区' ) FROM logpm_distribution_stock WHERE reservation_id = |
|
|
|
( SELECT IFNULL( GROUP_CONCAT( stockup_area ), '无备货区' ) FROM logpm_distribution_stock WHERE reservation_id = |
|
|
|