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

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

/**
 * 定时任务分类Repository
 * 
 * @author qichen
 */
@Repository
public interface IScheduleJobCategoryRepository extends IBaseRepository<ScheduleJobCategory, Long> {

    /**
     * 检查分类编码是否存在
     */
    boolean existsByCodeAndDeletedFalse(String code);
}

