package com.muyu.service.impl;

import com.muyu.domain.MessageTemplateType;
import com.muyu.mapper.TemplateNeedMapper;
import com.muyu.service.TemplateNeedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TemplateNeedServiceImpl implements TemplateNeedService {
    @Autowired
    private TemplateNeedMapper templateNeedMapper;


    @Override
    public List<MessageTemplateType> selectByTemplateId(Long templateId) {
        return templateNeedMapper.selectByTemplateId(templateId);
    }
}
