67 lines
1.3 KiB
Java
Raw Normal View History

2020-07-20 10:41:32 +08:00
package com.ruoyi.system.service;
2020-02-13 10:48:51 +08:00
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;
2020-07-20 10:41:32 +08:00
import com.ruoyi.system.domain.SysNotice;
2020-02-13 10:48:51 +08:00
import java.util.List;
2020-02-13 10:48:51 +08:00
/**
* 公告 服务层
*
* @author Lion Li
2020-02-13 10:48:51 +08:00
*/
public interface ISysNoticeService {
TableDataInfo<SysNotice> selectPageNoticeList(SysNotice notice, PageQuery pageQuery);
2020-02-13 10:48:51 +08:00
/**
* 查询公告信息
*
2020-02-13 10:48:51 +08:00
* @param noticeId 公告ID
* @return 公告信息
*/
SysNotice selectNoticeById(Long noticeId);
2020-02-13 10:48:51 +08:00
/**
* 查询公告列表
*
2020-02-13 10:48:51 +08:00
* @param notice 公告信息
* @return 公告集合
*/
List<SysNotice> selectNoticeList(SysNotice notice);
2020-02-13 10:48:51 +08:00
/**
* 新增公告
*
2020-02-13 10:48:51 +08:00
* @param notice 公告信息
* @return 结果
*/
int insertNotice(SysNotice notice);
2020-02-13 10:48:51 +08:00
/**
* 修改公告
*
2020-02-13 10:48:51 +08:00
* @param notice 公告信息
* @return 结果
*/
int updateNotice(SysNotice notice);
2020-02-13 10:48:51 +08:00
/**
* 删除公告信息
*
2020-02-13 10:48:51 +08:00
* @param noticeId 公告ID
* @return 结果
*/
int deleteNoticeById(Long noticeId);
2020-02-13 10:48:51 +08:00
/**
* 批量删除公告信息
*
2020-02-13 10:48:51 +08:00
* @param noticeIds 需要删除的公告ID
* @return 结果
*/
int deleteNoticeByIds(Long[] noticeIds);
2020-02-13 10:48:51 +08:00
}