From 2846bcdbb12ff42fbd0d78490ac353579cd3b10a Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Wed, 10 Apr 2024 11:48:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hyp/web/controller/reward/ApplyController.java | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/hyp-admin/src/main/java/com/hyp/web/controller/reward/ApplyController.java b/hyp-admin/src/main/java/com/hyp/web/controller/reward/ApplyController.java index e672ec0..485abb8 100644 --- a/hyp-admin/src/main/java/com/hyp/web/controller/reward/ApplyController.java +++ b/hyp-admin/src/main/java/com/hyp/web/controller/reward/ApplyController.java @@ -3,7 +3,10 @@ package com.hyp.web.controller.reward; import com.hyp.common.core.controller.BaseController; import com.hyp.common.core.domain.entity.SysUser; import com.hyp.common.core.page.TableDataInfo; +import com.hyp.system.domain.SysNotice; +import com.hyp.web.controller.manager.SysNoticeManager; import io.swagger.annotations.Api; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.prepost.PreAuthorize; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; @@ -26,12 +29,15 @@ import java.util.List; public class ApplyController extends BaseController { + @Autowired + private SysNoticeManager sysNoticeManager; + + @PreAuthorize("@ss.hasPermi('reward:apply:list')") @GetMapping("/list") - public TableDataInfo list(SysUser user) - { + public TableDataInfo list(SysNotice notice) { startPage(); - List list = null; + List list = sysNoticeManager.selectNoticeList(notice); return getDataTable(list); }