package com.system.oauth.message.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.system.oauth.message.entity.SysMessageTemplate;
import com.system.oauth.message.mapper.SysMessageTemplateMapper;
import com.system.oauth.message.service.ISysMessageTemplateService;
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);
    }
}
