|
|
@ -578,6 +578,7 @@ |
|
|
|
from logpm_trunkline_cars_load_scan t |
|
|
|
from logpm_trunkline_cars_load_scan t |
|
|
|
left join logpm_distribution_parcel_list dpl on dpl.order_package_code = t.scan_code and dpl.warehouse_id = #{warehouseId} |
|
|
|
left join logpm_distribution_parcel_list dpl on dpl.order_package_code = t.scan_code and dpl.warehouse_id = #{warehouseId} |
|
|
|
where t.load_id = #{loadId} |
|
|
|
where t.load_id = #{loadId} |
|
|
|
|
|
|
|
and dpl.id is not null |
|
|
|
group by dpl.brand_name,dpl.accept_warehouse_id,dpl.order_code,dpl.waybill_number |
|
|
|
group by dpl.brand_name,dpl.accept_warehouse_id,dpl.order_code,dpl.waybill_number |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|