package com.ssj.service.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ssj.bean.weixin.push.domain.TbWxTemplate;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.dao.WxTemplateDao;
import com.ssj.service.weixin.push.service.WxTemplateService;


@Service
@Transactional
public class WxTemplateServiceImpl extends BaseServiceImpl<TbWxTemplate, String> implements WxTemplateService {

	@Autowired
	private WxTemplateDao dao;
	
	@Override
	public PagingAndSortingRepository<TbWxTemplate, String> getDao() {
		return dao;
	}

	@Override
	public List<TbWxTemplate> queryTbWxTemplate() {
		return dao.queryTbWxTemplate();
	}

	@Override
	public List<TbWxTemplate> queryTbWxTemplateIdShort(String templateIdShort) {
		// TODO Auto-generated method stub
		return dao.queryTbWxTemplateIdShort(templateIdShort);
	}
	
	
	

}
