smartor/src/main/java/com/smartor/mapper/ServiceTaskScheduleMapper.java
@@ -51,6 +51,11 @@ int deleteByTaskid(@Param("taskid") Long taskid); /** * 硬删除(按 taskid):修改任务时清空旧计划 */ int hardDeleteByTaskid(@Param("taskid") Long taskid); /** * 任务组(appltype=5)滚动调度用:查询所有未达上限的循环计划。 * 条件:schedule_style=1 且 (max_loop_count is null or max_loop_count=0 or current_loop_count < max_loop_count) * 限制返回条数避免长事务。