Files
RuoYi/ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysNoticeMapper.java

52 lines
1.0 KiB
Java
Raw Normal View History

2018-10-07 14:16:47 +08:00
package com.ruoyi.system.mapper;
2018-07-09 08:44:52 +08:00
import java.util.List;
2018-10-07 14:16:47 +08:00
import com.ruoyi.system.domain.SysNotice;
2018-07-09 08:44:52 +08:00
/**
* 公告 数据层
*
* @author ruoyi
*/
2018-10-07 14:16:47 +08:00
public interface SysNoticeMapper
2018-07-09 08:44:52 +08:00
{
/**
* 查询公告信息
*
* @param noticeId 公告ID
* @return 公告信息
*/
2018-10-07 14:16:47 +08:00
public SysNotice selectNoticeById(Long noticeId);
2018-07-09 08:44:52 +08:00
/**
* 查询公告列表
*
* @param notice 公告信息
* @return 公告集合
*/
2018-10-07 14:16:47 +08:00
public List<SysNotice> selectNoticeList(SysNotice notice);
2018-07-09 08:44:52 +08:00
/**
* 新增公告
*
* @param notice 公告信息
* @return 结果
*/
2018-10-07 14:16:47 +08:00
public int insertNotice(SysNotice notice);
2018-07-09 08:44:52 +08:00
/**
* 修改公告
*
* @param notice 公告信息
* @return 结果
*/
2018-10-07 14:16:47 +08:00
public int updateNotice(SysNotice notice);
2018-07-09 08:44:52 +08:00
/**
* 批量删除公告
*
* @param noticeIds 需要删除的数据ID
* @return 结果
*/
public int deleteNoticeByIds(String[] noticeIds);
}