通知公告新增阅读用户列表

This commit is contained in:
RuoYi
2026-04-14 15:39:49 +08:00
parent ba33fe9e03
commit 0728a04b1b
9 changed files with 200 additions and 5 deletions
@@ -53,7 +53,6 @@ public class SysNoticeController extends BaseController
/**
* 根据通知公告编号获取详细信息
*/
@PreAuthorize("@ss.hasPermi('system:notice:query')")
@GetMapping(value = "/{noticeId}")
public AjaxResult getInfo(@PathVariable Long noticeId)
{
@@ -124,6 +123,19 @@ public class SysNoticeController extends BaseController
return success();
}
/**
* 已读用户列表数据
*/
@PreAuthorize("@ss.hasPermi('system:notice:list')")
@PostMapping("/readUsers/list")
@ResponseBody
public TableDataInfo readUsersList(Long noticeId, String searchValue)
{
startPage();
List<?> list = noticeReadService.selectReadUsersByNoticeId(noticeId, searchValue);
return getDataTable(list);
}
/**
* 删除通知公告
*/