package com.crm.globex.dao.repository;

import com.crm.rely.backend.core.pojo.table.SysEmailTemplateTable;
import com.crm.rely.backend.dao.repository.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: houn
 */
@Repository
public interface SysEmailTemplateRepository extends BaseRepository<SysEmailTemplateTable> {

    List<SysEmailTemplateTable> getAllByCodeIn(List<String> codes);


    SysEmailTemplateTable getFirstByCode(String code);
}
