From e8dffe108fbd49132c2294139a5cfd27238cc69c Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 12 九月 2025 16:05:24 +0800
Subject: [PATCH] 修改数据库连接密码为强密码3
---
cnas-device/src/main/java/com/ruoyi/device/controller/DeviceMaintenanceController.java | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/cnas-device/src/main/java/com/ruoyi/device/controller/DeviceMaintenanceController.java b/cnas-device/src/main/java/com/ruoyi/device/controller/DeviceMaintenanceController.java
index 7eb0f3a..46fadff 100644
--- a/cnas-device/src/main/java/com/ruoyi/device/controller/DeviceMaintenanceController.java
+++ b/cnas-device/src/main/java/com/ruoyi/device/controller/DeviceMaintenanceController.java
@@ -12,6 +12,8 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
+import javax.servlet.http.HttpServletResponse;
+
/**
* todo: 瀛欐渤婊�
*/
@@ -67,5 +69,13 @@
return Result.success(deviceMaintenanceService.removeById(id));
}
+ /**
+ * 瀵煎嚭璁惧缁存姢淇濆吇
+ */
+ @ApiOperation("瀵煎嚭璁惧缁存姢淇濆吇")
+ @GetMapping("/exportDeviceMaintenance")
+ public void exportDeviceMaintenance(@RequestParam("deviceId") Integer deviceId, HttpServletResponse response) {
+ deviceMaintenanceService.exportDeviceMaintenance(deviceId, response);
+ }
}
--
Gitblit v1.9.3