package com.qqchen.deploy.backend.schedule.repository;

import com.qqchen.deploy.backend.framework.repository.IBaseRepository;
import com.qqchen.deploy.backend.schedule.entity.ScheduleJobLog;
import org.springframework.stereotype.Repository;

/**
 * 定时任务执行日志Repository
 * 
 * @author qichen
 */
@Repository
public interface IScheduleJobLogRepository extends IBaseRepository<ScheduleJobLog, Long> {
    
    /**
     * 统计任务的执行日志数量（排除已删除）
     */
    Long countByJobIdAndDeletedFalse(Long jobId);
}

