You've already forked FrameTour-BE
模板、设备排序
This commit is contained in:
@@ -85,6 +85,11 @@
|
||||
where status = 0 and worker_id is null
|
||||
limit 1
|
||||
</select>
|
||||
<select id="selectAllNotRunning" resultType="com.ycwl.basic.model.pc.task.entity.TaskEntity">
|
||||
select *
|
||||
from task
|
||||
where status = 0 and worker_id is null
|
||||
</select>
|
||||
<select id="countTask" resultType="java.lang.Integer">
|
||||
select count(1) from task
|
||||
<where>
|
||||
@@ -123,4 +128,9 @@
|
||||
<if test="endTime!= null">and create_time <= #{endTime} </if>
|
||||
</where>
|
||||
</select>
|
||||
<select id="selectAllRunning" resultType="com.ycwl.basic.model.pc.task.entity.TaskEntity">
|
||||
select *
|
||||
from task
|
||||
where status = 2
|
||||
</select>
|
||||
</mapper>
|
||||
|
Reference in New Issue
Block a user