|
@@ -70,7 +70,7 @@ public interface CronJobMapper {
|
|
|
@Select({"select id from cron_job where project_id = #{projectId} and `name` = #{name}"})
|
|
|
Long getByNameWithProjectId(@Param("name") String name, @Param("projectId") Long projectId);
|
|
|
|
|
|
- @Select({"select * from cron_job where project_id = #{projectId}"})
|
|
|
+ @Select({"select * from cron_job where job_type != 'auditor' and project_id = #{projectId}"})
|
|
|
List<CronJob> getByProject(@Param("projectId") Long projectId);
|
|
|
|
|
|
@Select({"select * from cron_job where job_status = 'started'"})
|