|
|
|
@ -118,9 +118,17 @@
|
|
|
|
|
select ltlso.id id, |
|
|
|
|
ltlso.load_id loadId, |
|
|
|
|
ltlso.warehouse_id warehouseId, |
|
|
|
|
lww.warehouse_name warehouseName, |
|
|
|
|
ltlso.plan_num planNum, |
|
|
|
|
ltlso.load_sign_code loadSignCode, |
|
|
|
|
ltlso.sign_num signNum, |
|
|
|
|
ltlso.mall_name mallName, |
|
|
|
|
ltlso.mall_person mallPerson, |
|
|
|
|
ltlso.mall_mobile mallMobile, |
|
|
|
|
ltlso.mall_address mallAddress, |
|
|
|
|
ltlso.belong_to_warehouse_name belongToWarehouseName, |
|
|
|
|
ltlso.sign_status signStatus, |
|
|
|
|
ltlso.sign_time signTime, |
|
|
|
|
ltcl.driver_name driverName, |
|
|
|
|
ltcl.driver_mobile driverMobile, |
|
|
|
|
ltcl.car_number carNumber, |
|
|
|
@ -130,6 +138,7 @@
|
|
|
|
|
from logpm_trunkline_load_sign_order ltlso |
|
|
|
|
left join logpm_trunkline_cars_load ltcl on ltcl.id = ltlso.load_id |
|
|
|
|
LEFT JOIN logpm_trunkline_cars_order ltco on ltco.sign_order_id = ltlso.id |
|
|
|
|
left join logpm_warehouse_warehouse lww on lww.id = ltlso.warehouse_id |
|
|
|
|
<where> |
|
|
|
|
|
|
|
|
|
and (ltlso.warehouse_id in |
|
|
|
|