|
|
@ -762,6 +762,7 @@ |
|
|
|
LEFT JOIN logpm_warehouse_waybill AS lww ON lww.waybill_no = ltwo.waybill_no |
|
|
|
LEFT JOIN logpm_warehouse_waybill AS lww ON lww.waybill_no = ltwo.waybill_no |
|
|
|
<where> |
|
|
|
<where> |
|
|
|
ldsa.order_status in ('10','20','30','70') |
|
|
|
ldsa.order_status in ('10','20','30','70') |
|
|
|
|
|
|
|
AND lww.check_status = 1 |
|
|
|
and ldsa.reservation_status in ('10','20') |
|
|
|
and ldsa.reservation_status in ('10','20') |
|
|
|
AND EXISTS ( |
|
|
|
AND EXISTS ( |
|
|
|
SELECT 1 |
|
|
|
SELECT 1 |
|
|
|