package com.palmnest.dao.wechat;

import com.palmnest.model.estateserve.Picandtextdetailstemp;
import com.palmnest.model.estateserve.Replykeywords;
import com.palmnest.model.estateserve.Textpicvoicetemp;
import com.palmnest.model.notice.WxtemplateMessageTypeModel;

import java.util.List;
import java.util.Map;

public interface ReplayContentDao {

	/**
	 * 查询关键字集合
	 *
	 * @param developId
	 * @param keywordName
	 * @return
	 */
	public List<Replykeywords> getReplykeyworsList(String developId, String keywordName);

	/**
	 * 查询文本+图片(..) 消息模板
	 *
	 * @param replyKeywordsId 关键字id
	 * @return
	 */
	public List<Textpicvoicetemp> getTextpicvoicetempsList(int replyKeywordsId);

	/**
	 * 查询图文模板
	 *
	 * @param replyKeywordsId 关键字id
	 * @return
	 */
	public List<Picandtextdetailstemp> getPicandtextdetailstempsList(int replyKeywordsId);

	/**
	 * 根据业务类型查询模板
	 *
	 * @param type           1-公告通知
	 * @param organizationId 项目ID
	 */
	public List<Map<String, Object>> getWxTemplate(String type, int organizationId);


	/**
	 * 根据业务类型查询模板
	 *
	 * @param type           1-公告通知
	 * @param organizationId 项目ID
	 */
	public List<WxtemplateMessageTypeModel> getWxTemplateByTempId(int publicNo, String tempId);

}
