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.TbWxTemplateInfo;
import com.ssj.framework.core.common.service.BaseServiceImpl;
import com.ssj.service.dao.WxTemplateInfoDao;
import com.ssj.service.weixin.push.service.WxTemplateInfoService;


@Service
@Transactional
public class WxTemplateInfoServiceImpl extends BaseServiceImpl<TbWxTemplateInfo, String> implements WxTemplateInfoService {

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

	@Override
	public List<TbWxTemplateInfo> queryTbWxTemplateInfoByShort(String templateIdShort){
		return dao.queryTbWxTemplateInfoByShort(templateIdShort);
	}

}
