ruoyi-system/src/main/java/com/ruoyi/system/service/ISysNoticeService.java
@@ -1,7 +1,7 @@
package com.ruoyi.system.service;
import com.ruoyi.common.core.mybatisplus.core.IServicePlus;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.mybatis.core.page.PageQuery;
import com.ruoyi.common.mybatis.core.page.TableDataInfo;
import com.ruoyi.system.domain.SysNotice;
import java.util.List;
@@ -9,12 +9,12 @@
/**
 * 公告 服务层
 *
 * @author ruoyi
 * @author Lion Li
 */
public interface ISysNoticeService extends IServicePlus<SysNotice> {
public interface ISysNoticeService {
    TableDataInfo<SysNotice> selectPageNoticeList(SysNotice notice);
    TableDataInfo<SysNotice> selectPageNoticeList(SysNotice notice, PageQuery pageQuery);
    /**
     * 查询公告信息
@@ -22,7 +22,7 @@
     * @param noticeId 公告ID
     * @return 公告信息
     */
    public SysNotice selectNoticeById(Long noticeId);
    SysNotice selectNoticeById(Long noticeId);
    /**
     * 查询公告列表
@@ -30,7 +30,7 @@
     * @param notice 公告信息
     * @return 公告集合
     */
    public List<SysNotice> selectNoticeList(SysNotice notice);
    List<SysNotice> selectNoticeList(SysNotice notice);
    /**
     * 新增公告
@@ -38,7 +38,7 @@
     * @param notice 公告信息
     * @return 结果
     */
    public int insertNotice(SysNotice notice);
    int insertNotice(SysNotice notice);
    /**
     * 修改公告
@@ -46,7 +46,7 @@
     * @param notice 公告信息
     * @return 结果
     */
    public int updateNotice(SysNotice notice);
    int updateNotice(SysNotice notice);
    /**
     * 删除公告信息
@@ -54,7 +54,7 @@
     * @param noticeId 公告ID
     * @return 结果
     */
    public int deleteNoticeById(Long noticeId);
    int deleteNoticeById(Long noticeId);
    /**
     * 批量删除公告信息
@@ -62,5 +62,5 @@
     * @param noticeIds 需要删除的公告ID
     * @return 结果
     */
    public int deleteNoticeByIds(Long[] noticeIds);
    int deleteNoticeByIds(Long[] noticeIds);
}