From b87e45ce32cd0e8e7476773d289dc3ad2601e711 Mon Sep 17 00:00:00 2001 From: 抓蛙师 <770492966@qq.com> Date: 星期六, 18 十二月 2021 16:07:24 +0800 Subject: [PATCH] 自动生成代码未引入此依赖 import com.baomidou.mybatisplus.extension.plugins.pagination.Page; --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysNoticeController.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysNoticeController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysNoticeController.java index bafb720..337bf32 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysNoticeController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysNoticeController.java @@ -3,6 +3,7 @@ import com.ruoyi.common.annotation.Log; import com.ruoyi.common.core.controller.BaseController; import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.domain.PageQuery; import com.ruoyi.common.core.page.TableDataInfo; import com.ruoyi.common.enums.BusinessType; import com.ruoyi.system.domain.SysNotice; @@ -36,8 +37,8 @@ @ApiOperation("鑾峰彇閫氱煡鍏憡鍒楄〃") @PreAuthorize("@ss.hasPermi('system:notice:list')") @GetMapping("/list") - public TableDataInfo<SysNotice> list(SysNotice notice) { - return noticeService.selectPageNoticeList(notice); + public TableDataInfo<SysNotice> list(SysNotice notice, PageQuery pageQuery) { + return noticeService.selectPageNoticeList(notice, pageQuery); } /** -- Gitblit v1.9.3