|
@@ -23,7 +23,12 @@
|
|
|
<select id="getClTaskListByStatus" resultType="com.alibaba.fastjson.JSONObject">
|
|
<select id="getClTaskListByStatus" resultType="com.alibaba.fastjson.JSONObject">
|
|
|
select material_id, batch_id
|
|
select material_id, batch_id
|
|
|
from deepthink.cl_material_task_info
|
|
from deepthink.cl_material_task_info
|
|
|
- where task_status = #{status}
|
|
|
|
|
|
|
+ where task_status in (
|
|
|
|
|
+ '0',
|
|
|
|
|
+ 'init',
|
|
|
|
|
+ 'queueing',
|
|
|
|
|
+ 'processing'
|
|
|
|
|
+ )
|
|
|
order by create_time limit 60
|
|
order by create_time limit 60
|
|
|
</select>
|
|
</select>
|
|
|
</mapper>
|
|
</mapper>
|