From 9571229a2013472dc701ecf5767f2873b36d8f90 Mon Sep 17 00:00:00 2001
From: huang <1532065656@qq.com>
Date: 星期四, 11 十二月 2025 17:07:19 +0800
Subject: [PATCH] 修复导入Excel功能工程号自增; 添加选择工程号自动填写玻璃id列表

---
 mes-processes/mes-plcSend/src/main/java/com/mes/device/controller/DeviceControlProfileController.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/mes-processes/mes-plcSend/src/main/java/com/mes/device/controller/DeviceControlProfileController.java b/mes-processes/mes-plcSend/src/main/java/com/mes/device/controller/DeviceControlProfileController.java
index 1ebc89b..6dcb2f7 100644
--- a/mes-processes/mes-plcSend/src/main/java/com/mes/device/controller/DeviceControlProfileController.java
+++ b/mes-processes/mes-plcSend/src/main/java/com/mes/device/controller/DeviceControlProfileController.java
@@ -3,15 +3,15 @@
 import com.mes.device.service.DeviceControlProfileService;
 import com.mes.device.vo.DeviceControlProfile;
 import com.mes.vo.Result;
-import io.swagger.v3.oas.annotations.Operation;
-import io.swagger.v3.oas.annotations.tags.Tag;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
 import lombok.RequiredArgsConstructor;
 import org.springframework.validation.annotation.Validated;
 import org.springframework.web.bind.annotation.*;
 
 @RestController
 @RequestMapping("device/control")
-@Tag(name = "璁惧鎺у埗鍙傛暟", description = "璁惧鎺у埗鍙傛暟閰嶇疆鎺ュ彛")
+@Api(tags = "璁惧鎺у埗鍙傛暟")
 @RequiredArgsConstructor
 @Validated
 public class DeviceControlProfileController {
@@ -19,13 +19,13 @@
     private final DeviceControlProfileService controlProfileService;
 
     @GetMapping("/{deviceId}")
-    @Operation(summary = "鑾峰彇璁惧鎺у埗鍙傛暟")
+    @ApiOperation("鑾峰彇璁惧鎺у埗鍙傛暟")
     public Result<DeviceControlProfile> getProfile(@PathVariable Long deviceId) {
         return Result.success(controlProfileService.getProfile(deviceId));
     }
 
     @PostMapping("/{deviceId}")
-    @Operation(summary = "鏇存柊璁惧鎺у埗鍙傛暟")
+    @ApiOperation("鏇存柊璁惧鎺у埗鍙傛暟")
     public Result<Void> saveProfile(@PathVariable Long deviceId,
                                     @RequestBody DeviceControlProfile profile) {
         controlProfileService.updateProfile(deviceId, profile);

--
Gitblit v1.8.0