package cn.freemud.manager.dao;

import cn.freemud.entities.db.WxappMessageTemplate;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface WxappMessageTemplateDao {

    List<WxappMessageTemplate> selectByAppid(@Param("appid") String appid);

    WxappMessageTemplate selectParentIdAndAppid(@Param("parentId") Integer parentId, @Param("appid") String appid);

}
