package com.oauth.message.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.oauth.message.mapper.SysMessageTemplateMapper;
import com.oauth.message.service.ISysMessageTemplateService;
import com.oauth.message.entity.SysMessageTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 消息模板
 * @Author: Lyrical
 * @Date:  2022-04-19
 * @Version: V1.0
 */
@Service
public class SysMessageTemplateServiceImpl extends ServiceImpl<SysMessageTemplateMapper, SysMessageTemplate> implements ISysMessageTemplateService {

    @Autowired
    private SysMessageTemplateMapper sysMessageTemplateMapper;


    @Override
    public List<SysMessageTemplate> selectByCode(String code) {
        return sysMessageTemplateMapper.selectByCode(code);
    }
}
