|
|
@ -1023,6 +1023,7 @@ |
|
|
|
logpm_trunkline_cars_load ltcl LEFT JOIN |
|
|
|
logpm_trunkline_cars_load ltcl LEFT JOIN |
|
|
|
logpm_trunkline_cars_load_line ltcll on ltcll.load_id=ltcl.id |
|
|
|
logpm_trunkline_cars_load_line ltcll on ltcll.load_id=ltcl.id |
|
|
|
WHERE |
|
|
|
WHERE |
|
|
|
|
|
|
|
YEAR(ltcl.create_time) = YEAR(CURDATE()) and |
|
|
|
ltcl.load_status!=100 and ltcll.node_id =#{warehouseId} |
|
|
|
ltcl.load_status!=100 and ltcll.node_id =#{warehouseId} |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<select id="findCarsStattisonTheWayNum" resultType="java.lang.Integer"> |
|
|
|
<select id="findCarsStattisonTheWayNum" resultType="java.lang.Integer"> |
|
|
@ -1032,6 +1033,7 @@ |
|
|
|
logpm_trunkline_cars_load ltcl LEFT JOIN |
|
|
|
logpm_trunkline_cars_load ltcl LEFT JOIN |
|
|
|
logpm_trunkline_cars_load_line ltcll on ltcll.load_id=ltcl.id |
|
|
|
logpm_trunkline_cars_load_line ltcll on ltcll.load_id=ltcl.id |
|
|
|
WHERE |
|
|
|
WHERE |
|
|
|
|
|
|
|
YEAR(ltcl.create_time) = YEAR(CURDATE()) and |
|
|
|
ltcl.load_status!=100 and ltcll.node_status='0' and ltcll.node_id =#{warehouseId} |
|
|
|
ltcl.load_status!=100 and ltcll.node_status='0' and ltcll.node_id =#{warehouseId} |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<select id="findCarsStattisWorkingNum" resultType="java.lang.Integer"> |
|
|
|
<select id="findCarsStattisWorkingNum" resultType="java.lang.Integer"> |
|
|
@ -1041,6 +1043,7 @@ |
|
|
|
logpm_trunkline_cars_load ltcl LEFT JOIN |
|
|
|
logpm_trunkline_cars_load ltcl LEFT JOIN |
|
|
|
logpm_trunkline_cars_load_line ltcll on ltcll.load_id=ltcl.id |
|
|
|
logpm_trunkline_cars_load_line ltcll on ltcll.load_id=ltcl.id |
|
|
|
WHERE |
|
|
|
WHERE |
|
|
|
|
|
|
|
YEAR(ltcl.create_time) = YEAR(CURDATE()) and |
|
|
|
ltcl.load_status!='100' and ltcl.load_status!='100' and ltcll.node_status='10' and ltcll.unload_status='0' and ltcll.node_id =#{warehouseId} |
|
|
|
ltcl.load_status!='100' and ltcl.load_status!='100' and ltcll.node_status='10' and ltcll.unload_status='0' and ltcll.node_id =#{warehouseId} |
|
|
|
|
|
|
|
|
|
|
|
</select> |
|
|
|
</select> |
|
|
@ -1051,6 +1054,7 @@ |
|
|
|
logpm_trunkline_cars_load ltcl LEFT JOIN |
|
|
|
logpm_trunkline_cars_load ltcl LEFT JOIN |
|
|
|
logpm_trunkline_cars_load_line ltcll on ltcll.load_id=ltcl.id |
|
|
|
logpm_trunkline_cars_load_line ltcll on ltcll.load_id=ltcl.id |
|
|
|
WHERE |
|
|
|
WHERE |
|
|
|
|
|
|
|
YEAR(ltcl.create_time) = YEAR(CURDATE()) and |
|
|
|
ltcl.load_status!='100' and ltcl.load_status!='100' and ltcll.node_status='10' and ltcll.unload_status!='0' and ltcll.node_id =#{warehouseId} |
|
|
|
ltcl.load_status!='100' and ltcl.load_status!='100' and ltcll.node_status='10' and ltcll.unload_status!='0' and ltcll.node_id =#{warehouseId} |
|
|
|
|
|
|
|
|
|
|
|
</select> |
|
|
|
</select> |
|
|
|