This commit is contained in:
15066119699 2025-03-14 14:38:36 +08:00
parent 507feb9219
commit dbb0f90057

View File

@ -84,9 +84,10 @@
where location_status = 0 and is_working = 0 and is_enable = 0 where location_status = 0 and is_working = 0 and is_enable = 0
and location_id NOT IN ( SELECT DISTINCT ( t.location_id ) FROM app_stock t UNION SELECT DISTINCT ( p.location_id ) FROM app_task p where p.location_id is not null) and location_id NOT IN ( SELECT DISTINCT ( t.location_id ) FROM app_stock t UNION SELECT DISTINCT ( p.location_id ) FROM app_task p where p.location_id is not null)
ORDER BY ORDER BY
w_depth DESC, w_layer asc,
w_layer ASC, w_depth desc,
w_col asc w_col asc,
w_row asc
</select> </select>
<select id="countAvailableStock" resultType="java.util.Map"> <select id="countAvailableStock" resultType="java.util.Map">
SELECT SELECT