From 31ccc9cd47f96cea6e4e13b078187fd3201c4666 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 04 九月 2026 16:35:24 +0800
Subject: [PATCH] feat(report): 更新检测报告模板并优化报告生成功能 - 优化设备信息展示格式,支持多设备列表显示 - 统一检测报告和检验报告使用新版模板格式

---
 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