package com.ghb.base.modules.message.service.impl;

import com.ghb.base.common.system.base.service.impl.GhbServiceImpl;
import com.ghb.base.modules.message.entity.SysMessageTemplate;
import com.ghb.base.modules.message.mapper.SysMessageTemplateMapper;
import com.ghb.base.modules.message.service.ISysMessageTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

/**
 * @Description: 消息模板
 * @Author: Ghb-boot
 * @Date:  2019-04-09
 * @Version: V1.0
 */
@Service
public class SysMessageTemplateServiceImpl extends GhbServiceImpl<SysMessageTemplateMapper, SysMessageTemplate> implements ISysMessageTemplateService {

    @Autowired
    private SysMessageTemplateMapper sysMessageTemplateMapper;


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