package com.unis.detectionnum.server.service;

import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.unis.detectionnum.common.vo.AnnouncementVO;
import com.unis.detectionnum.server.entity.AnnouncementDO;

/** 
 * @ClassName: AnnouncementService 
 * @Description: 公告管理service 
 * @author LiuFeng 
 * @date 2019年10月28日 下午3:27:17  
 */
public interface AnnouncementService {

	/** 
	 * @Title: getAnnouncementPageList 
	 * @Description: 公告管理-分页查询
	 * @param paramMap
	 * @param pageNum
	 * @param pageSize
	 * @param @return
	 * @return PageInfo<AnnouncementVO>
	 * @throws 
	 */
	PageInfo<AnnouncementVO> getAnnouncementPageList(Map<String, Object> paramMap, Integer pageNum, Integer pageSize);

	/** 
	 * @Title: saveAnnouncement 
	 * @Description: TODO
	 * @param announcementVO
	 * @return void
	 * @throws 
	 */
	int saveAnnouncement(AnnouncementVO announcementVO);

	/** 
	 * @Title: updateAnnouncement 
	 * @Description: 修改公告
	 * @param announcementVO
	 * @return void
	 * @throws 
	 */
	int updateAnnouncement(AnnouncementVO announcementVO);

	/** 
	 * @Title: deleteAnnouncement 
	 * @Description: 删除公告
	 * @param announcementId
	 * @return void
	 * @throws 
	 */
	int deleteAnnouncement(Integer announcementId);

	AnnouncementDO selectByPrimaryKey(Integer announcementId);

}
