This commit is contained in:
孙小云 2026-03-24 19:34:28 +08:00
parent da84164744
commit 0b28479c95
1 changed files with 2 additions and 2 deletions

View File

@ -160,7 +160,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<include refid="selectTaskInfoVo"/>
where status = 'PENDING'
and task_type in ('TIMED', 'CYCLE')
and start_time <= now()
and start_time > date_sub(now(), interval 5 minute)
and start_time &lt;= now()
and start_time &gt; date_sub(now(), interval 5 minute)
</select>
</mapper>