67 lines
1.3 KiB
Java
67 lines
1.3 KiB
Java
package com.ruoyi.system.service;
|
|
|
|
import com.ruoyi.common.core.domain.PageQuery;
|
|
import com.ruoyi.common.core.page.TableDataInfo;
|
|
import com.ruoyi.system.domain.SysNotice;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 公告 服务层
|
|
*
|
|
* @author Lion Li
|
|
*/
|
|
public interface ISysNoticeService {
|
|
|
|
|
|
TableDataInfo<SysNotice> selectPageNoticeList(SysNotice notice, PageQuery pageQuery);
|
|
|
|
/**
|
|
* 查询公告信息
|
|
*
|
|
* @param noticeId 公告ID
|
|
* @return 公告信息
|
|
*/
|
|
SysNotice selectNoticeById(Long noticeId);
|
|
|
|
/**
|
|
* 查询公告列表
|
|
*
|
|
* @param notice 公告信息
|
|
* @return 公告集合
|
|
*/
|
|
List<SysNotice> selectNoticeList(SysNotice notice);
|
|
|
|
/**
|
|
* 新增公告
|
|
*
|
|
* @param notice 公告信息
|
|
* @return 结果
|
|
*/
|
|
int insertNotice(SysNotice notice);
|
|
|
|
/**
|
|
* 修改公告
|
|
*
|
|
* @param notice 公告信息
|
|
* @return 结果
|
|
*/
|
|
int updateNotice(SysNotice notice);
|
|
|
|
/**
|
|
* 删除公告信息
|
|
*
|
|
* @param noticeId 公告ID
|
|
* @return 结果
|
|
*/
|
|
int deleteNoticeById(Long noticeId);
|
|
|
|
/**
|
|
* 批量删除公告信息
|
|
*
|
|
* @param noticeIds 需要删除的公告ID
|
|
* @return 结果
|
|
*/
|
|
int deleteNoticeByIds(Long[] noticeIds);
|
|
}
|