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

import com.qqchen.deploy.backend.framework.repository.IBaseRepository;
import com.qqchen.deploy.backend.workflow.entity.WorkflowCategory;
import org.springframework.stereotype.Repository;

/**
 * 工作流分类Repository
 *
 * @author qqchen
 * @date 2025-10-24
 */
@Repository
public interface IWorkflowCategoryRepository extends IBaseRepository<WorkflowCategory, Long> {
    
    /**
     * 根据编码查询分类
     *
     * @param code 分类编码
     * @return 工作流分类
     */
    WorkflowCategory findByCodeAndDeletedFalse(String code);
}

