|
|
@ -798,8 +798,8 @@ FROM |
|
|
|
logpm_distribution_stockup_info AS ldsi |
|
|
|
logpm_distribution_stockup_info AS ldsi |
|
|
|
LEFT JOIN logpm_distribution_stockup AS ldss ON ldsi.stockup_id = ldss.id |
|
|
|
LEFT JOIN logpm_distribution_stockup AS ldss ON ldsi.stockup_id = ldss.id |
|
|
|
WHERE |
|
|
|
WHERE |
|
|
|
ldsi.reservation_id = lds.reservation_id |
|
|
|
ldsi.reservation_id = lds.reservation_id and |
|
|
|
ldsi.stock_status != 4 |
|
|
|
ldsi.stock_status != '4' |
|
|
|
) AS forkliftName, |
|
|
|
) AS forkliftName, |
|
|
|
CASE |
|
|
|
CASE |
|
|
|
WHEN ldr.stockup_status ='10' THEN '待指派' |
|
|
|
WHEN ldr.stockup_status ='10' THEN '待指派' |
|
|
|