package com.ruoyi.project.system.notice.mapper;
|
|
import com.ruoyi.project.system.notice.domain.Notice;
|
import java.util.List;
|
|
/**
|
* 公告 数据层
|
*
|
* @author ruoyi
|
*/
|
public interface NoticeMapper
|
{
|
/**
|
* 查询公告信息
|
*
|
* @param noticeId 公告ID
|
* @return 公告信息
|
*/
|
Notice selectNoticeById(Long noticeId);
|
|
/**
|
* 查询公告列表
|
*
|
* @param notice 公告信息
|
* @return 公告集合
|
*/
|
List<Notice> selectNoticeList(Notice notice);
|
|
/**
|
* 新增公告
|
*
|
* @param notice 公告信息
|
* @return 结果
|
*/
|
int insertNotice(Notice notice);
|
|
/**
|
* 修改公告
|
*
|
* @param notice 公告信息
|
* @return 结果
|
*/
|
int updateNotice(Notice notice);
|
|
/**
|
* 批量删除公告
|
*
|
* @param noticeIds 需要删除的数据ID
|
* @return 结果
|
*/
|
int deleteNoticeByIds(String[] noticeIds);
|
}
|