package com.ssj.service.dao;

import java.util.List;

import com.ssj.bean.weixin.push.domain.TbWxTemplateInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;


public interface WxTemplateInfoDao extends JpaRepository<TbWxTemplateInfo, String> {

	
	@Query(nativeQuery = true, value = "SELECT * FROM `tb_wx_template_info` t where t.template_id_short=?1 ")
	public List<TbWxTemplateInfo> queryTbWxTemplateInfoByShort(String templateIdShort);
	
}
