From 30ca7a8dc82a7cfadadb37d8e9e6b8e68be06f27 Mon Sep 17 00:00:00 2001 From: zhuo <2089219845@qq.com> Date: 星期四, 08 五月 2025 13:06:51 +0800 Subject: [PATCH] 检验项添加抽样类型绑定 --- 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