package com.palmnest.dao.estateserve;

import java.util.List;

import com.palmnest.application.bean.Page;
import com.palmnest.dao.GenericDao;
import com.palmnest.model.estateserve.Announcement;

/**
 * 通知公告数据层信息接口实现
 *
 * @author yubing
 * @since 2017-1-19
 */
public interface AnnouncementDao extends GenericDao<Announcement, Integer> {

	/**
	 * 分页查询
	 *
	 * @param pageno   页码
	 * @param pagesize 每页条数
	 * @param wheresql 过滤条件SQL
	 * @return
	 */
	public Page getAnnouncementByPage(int pageno, int pagesize, String wheresql);

	/**
	 * 查询定时群发的通知公告集合
	 *
	 * @return
	 */
	public List<Announcement> queryTimerAnnouncementList();
}
