From a265e62ac86c31a7e63ead82bf5f2300ebe5108f Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期日, 13 四月 2025 16:34:31 +0800 Subject: [PATCH] 不合格复测调整 --- inspect-server/src/main/java/com/ruoyi/inspect/controller/InformationNotificationController.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/inspect-server/src/main/java/com/ruoyi/inspect/controller/InformationNotificationController.java b/inspect-server/src/main/java/com/ruoyi/inspect/controller/InformationNotificationController.java index d20b89b..342f860 100644 --- a/inspect-server/src/main/java/com/ruoyi/inspect/controller/InformationNotificationController.java +++ b/inspect-server/src/main/java/com/ruoyi/inspect/controller/InformationNotificationController.java @@ -37,4 +37,19 @@ public Result<?> msgRoll(Page page) { return Result.success(informationNotificationService.msgRoll(page)); } + + @ApiOperation(value = "娑堟伅閫氱煡-鐐瑰嚮璇︽儏瑙﹀彂淇敼鐘舵�佷负宸茶") + @PostMapping("triggerModificationStatusToRead") + public Result<?> triggerModificationStatusToRead(@RequestBody Map<String, Integer> params) { + Integer id = params.get("id"); + informationNotificationService.triggerModificationStatusToRead(id); + return Result.success(); + } + + @ApiOperation(value = "娑堟伅閫氱煡-鏍囪鎵�鏈変俊鎭负宸茶/鍒犻櫎鎵�鏈夊凡璇绘秷鎭�") + @PostMapping("informationReadOrDelete/{isMarkAllInformationRead}") + public Result<?> markAllInformationReadOrDeleteAllReadMessages(@PathVariable("isMarkAllInformationRead") Boolean isMarkAllInformationRead) { + informationNotificationService.markAllInformationReadOrDeleteAllReadMessages(isMarkAllInformationRead); + return Result.success(); + } } -- Gitblit v1.9.3