package com.system.oauth.message.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.system.oauth.message.entity.SysMessageTemplate;
import org.apache.ibatis.annotations.Select;


import java.util.List;

/**
 * @Description: 消息模板
 * @Author: Lyrical
 * @Date:  2022-04-19
 * @Version: V1.0
 */
public interface SysMessageTemplateMapper extends BaseMapper<SysMessageTemplate> {
    @Select("SELECT * FROM SYS_SMS_TEMPLATE WHERE TEMPLATE_CODE = #{code}")
    List<SysMessageTemplate> selectByCode(String code);
}
