package com.palmnest.dao.notice;

import com.palmnest.dao.GenericDao;
import com.palmnest.model.notice.WxUploadMaterialModel;

public interface WxUploadMaterialDao extends GenericDao<WxUploadMaterialModel, Integer> {

	/**
	 * 根据公告的详情的id获取相应的素材Id
	 *
	 * @param sourceId
	 * @return
	 */
	WxUploadMaterialModel findBySourceId(Integer sourceId, String type, Integer orgId);
}
