|
|
@ -705,7 +705,7 @@ |
|
|
|
sum(IF(ltcls.unload_node_id = #{warehouseId} and ltcls.type = 2 and ltcls.scan_status = '1',ltcls.unload_num,0)) manualNum |
|
|
|
sum(IF(ltcls.unload_node_id = #{warehouseId} and ltcls.type = 2 and ltcls.scan_status = '1',ltcls.unload_num,0)) manualNum |
|
|
|
from logpm_trunkline_cars_load_scan ltcls |
|
|
|
from logpm_trunkline_cars_load_scan ltcls |
|
|
|
left join logpm_trunkline_cars_order ltco on ltco.waybill_id = ltcls.waybill_id and ltco.order_code = ltcls.order_code and ltco.load_id = #{loadId} |
|
|
|
left join logpm_trunkline_cars_order ltco on ltco.waybill_id = ltcls.waybill_id and ltco.order_code = ltcls.order_code and ltco.load_id = #{loadId} |
|
|
|
where ltcls.load_id = |
|
|
|
where ltcls.load_id = #{loadId} |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<select id="findParceListByCarsLoadScanIds" resultType="com.logpm.distribution.entity.DistributionParcelListEntity"> |
|
|
|
<select id="findParceListByCarsLoadScanIds" resultType="com.logpm.distribution.entity.DistributionParcelListEntity"> |
|
|
|