From c7a252cc254f7f4fe998cd3a4764e14d52552958 Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期六, 25 四月 2026 16:50:56 +0800
Subject: [PATCH] 添加相关接口附件信息

---
 src/main/java/com/ruoyi/warehouse/controller/DocumentationBorrowManagementController.java |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/main/java/com/ruoyi/warehouse/controller/DocumentationBorrowManagementController.java b/src/main/java/com/ruoyi/warehouse/controller/DocumentationBorrowManagementController.java
index f02118a..2a1c966 100644
--- a/src/main/java/com/ruoyi/warehouse/controller/DocumentationBorrowManagementController.java
+++ b/src/main/java/com/ruoyi/warehouse/controller/DocumentationBorrowManagementController.java
@@ -9,8 +9,8 @@
 import com.ruoyi.warehouse.pojo.DocumentationBorrowManagement;
 import com.ruoyi.warehouse.pojo.DocumentationReturnManagement;
 import com.ruoyi.warehouse.service.DocumentationBorrowManagementService;
-import io.swagger.annotations.Api;
-import io.swagger.annotations.ApiOperation;
+import io.swagger.v3.oas.annotations.tags.Tag;
+import io.swagger.v3.oas.annotations.Operation;
 import jakarta.servlet.http.HttpServletResponse;
 import lombok.AllArgsConstructor;
 import org.springframework.util.CollectionUtils;
@@ -19,7 +19,7 @@
 import java.util.List;
 
 @RestController
-@Api(tags = "鏂囨。鍊熼槄绠$悊")
+@Tag(name = "鏂囨。鍊熼槄绠$悊")
 @RequestMapping("/documentationBorrowManagement")
 @AllArgsConstructor
 public class DocumentationBorrowManagementController extends BaseController {
@@ -28,75 +28,75 @@
     private DocumentationReturnManagementMapper documentationReturnManagementMapper;
 
     @GetMapping("/listPage")
-    @ApiOperation("鏂囨。鍊熼槄绠$悊-鍊熼槄鍒嗛〉鏌ヨ")
+    @Operation(summary = "鏂囨。鍊熼槄绠$悊-鍊熼槄鍒嗛〉鏌ヨ")
     @Log(title = "鏂囨。鍊熼槄绠$悊-鍊熼槄鍒嗛〉鏌ヨ", businessType = BusinessType.OTHER)
     public AjaxResult listPage(Page page, DocumentationBorrowManagement documentationBorrowManagement) {
         return AjaxResult.success(documentationBorrowManagementService.listPage(page, documentationBorrowManagement));
     }
     @GetMapping("/list")
-    @ApiOperation("鏂囨。鍊熼槄绠$悊-鍊熼槄鏌ヨ")
+    @Operation(summary = "鏂囨。鍊熼槄绠$悊-鍊熼槄鏌ヨ")
     @Log(title = "鏂囨。鍊熼槄绠$悊-鍊熼槄鏌ヨ", businessType = BusinessType.OTHER)
     public AjaxResult list() {
         return AjaxResult.success(documentationBorrowManagementService.listAll());
     }
     @GetMapping("/listPageReturn")
-    @ApiOperation("鏂囨。鍊熼槄绠$悊-褰掕繕鍒嗛〉鏌ヨ")
+    @Operation(summary = "鏂囨。鍊熼槄绠$悊-褰掕繕鍒嗛〉鏌ヨ")
     @Log(title = "鏂囨。鍊熼槄绠$悊-褰掕繕鍒嗛〉鏌ヨ", businessType = BusinessType.OTHER)
     public AjaxResult listPageReturn(Page page, DocumentationReturnManagement documentationReturnManagement) {
         return AjaxResult.success(documentationReturnManagementMapper.listPage(page, documentationReturnManagement));
     }
     @GetMapping("/getByDocumentationId/{id}")
-    @ApiOperation("鏍规嵁涔︾睄id鏌ヨ鍊熼槄璁板綍")
+    @Operation(summary = "鏍规嵁涔︾睄id鏌ヨ鍊熼槄璁板綍")
     @Log(title = "鏍规嵁涔︾睄id鏌ヨ鍊熼槄璁板綍", businessType = BusinessType.OTHER)
     public AjaxResult getByDocumentationId(@PathVariable Long id) {
         return AjaxResult.success(documentationBorrowManagementService.selectByDocumentationId(id));
     }
     @PostMapping("/add")
-    @ApiOperation("鏂囨。鍊熼槄绠$悊-鍊熼槄")
+    @Operation(summary = "鏂囨。鍊熼槄绠$悊-鍊熼槄")
     @Log(title = "鏂囨。鍊熼槄绠$悊-鍊熼槄", businessType = BusinessType.INSERT)
     public AjaxResult add(@RequestBody DocumentationBorrowManagement documentationBorrowManagement) {
         return AjaxResult.success(documentationBorrowManagementService.add(documentationBorrowManagement));
     }
     @PutMapping("/revent")
-    @ApiOperation("鏂囨。鍊熼槄绠$悊-褰掕繕")
+    @Operation(summary = "鏂囨。鍊熼槄绠$悊-褰掕繕")
     @Log(title = "鏂囨。鍊熼槄绠$悊-褰掕繕", businessType = BusinessType.UPDATE)
     public AjaxResult revent(@RequestBody DocumentationReturnManagement documentationReturnManagement) {
         return AjaxResult.success(documentationBorrowManagementService.reventdbm(documentationReturnManagement));
     }
     @PutMapping("/update")
-    @ApiOperation("鏂囨。鍊熼槄绠$悊-鏇存柊")
+    @Operation(summary = "鏂囨。鍊熼槄绠$悊-鏇存柊")
     @Log(title = "鏂囨。鍊熼槄绠$悊-鏇存柊", businessType = BusinessType.UPDATE)
     public AjaxResult update(@RequestBody DocumentationBorrowManagement documentationBorrowManagement) {
         return AjaxResult.success(documentationBorrowManagementService.updateById(documentationBorrowManagement));
     }
     @PutMapping("/reventUpdate")
-    @ApiOperation("鏂囨。鍊熼槄绠$悊-褰掕繕鏇存柊")
+    @Operation(summary = "鏂囨。鍊熼槄绠$悊-褰掕繕鏇存柊")
     @Log(title = "鏂囨。鍊熼槄绠$悊-褰掕繕鏇存柊", businessType = BusinessType.UPDATE)
     public AjaxResult reventupdate(@RequestBody DocumentationReturnManagement documentationReturnManagement) {
         return AjaxResult.success(documentationReturnManagementMapper.updateById(documentationReturnManagement));
     }
     @DeleteMapping ("/delete")
-    @ApiOperation("鏂囨。鍊熼槄绠$悊-鍊熼槄鍒犻櫎")
+    @Operation(summary = "鏂囨。鍊熼槄绠$悊-鍊熼槄鍒犻櫎")
     @Log(title = "鏂囨。鍊熼槄绠$悊-鍊熼槄鍒犻櫎", businessType = BusinessType.DELETE)
     public AjaxResult delete(@RequestBody List<Long> ids) {
         if(CollectionUtils.isEmpty(ids)) return AjaxResult.error("璇蜂紶鍏ヨ鍒犻櫎鐨処D");
         return AjaxResult.success(documentationBorrowManagementService.deleteByIds(ids));
     }
     @DeleteMapping ("/reventDelete")
-    @ApiOperation("鏂囨。鍊熼槄绠$悊-褰掕繕鍒犻櫎")
+    @Operation(summary = "鏂囨。鍊熼槄绠$悊-褰掕繕鍒犻櫎")
     @Log(title = "鏂囨。鍊熼槄绠$悊-褰掕繕鍒犻櫎", businessType = BusinessType.DELETE)
     public AjaxResult reventdelete(@RequestBody List<Long> ids) {
         if(CollectionUtils.isEmpty(ids)) return AjaxResult.error("璇蜂紶鍏ヨ鍒犻櫎鐨処D");
         return AjaxResult.success(documentationBorrowManagementService.reventDeleteByIds(ids));
     }
     @PostMapping("/export")
-    @ApiOperation("鏂囨。鍊熼槄绠$悊-鍊熼槄瀵煎嚭")
+    @Operation(summary = "鏂囨。鍊熼槄绠$悊-鍊熼槄瀵煎嚭")
     @Log(title = "鏂囨。鍊熼槄绠$悊-鍊熼槄瀵煎嚭", businessType = BusinessType.EXPORT)
     public void export(HttpServletResponse response,DocumentationBorrowManagement documentationBorrowManagement) {
         documentationBorrowManagementService.export(response,documentationBorrowManagement);
     }
     @PostMapping("/exportrevent")
-    @ApiOperation("鏂囨。鍊熼槄绠$悊-褰掕繕瀵煎嚭")
+    @Operation(summary = "鏂囨。鍊熼槄绠$悊-褰掕繕瀵煎嚭")
     @Log(title = "鏂囨。鍊熼槄绠$悊-褰掕繕瀵煎嚭", businessType = BusinessType.EXPORT)
     public void exportrevent(HttpServletResponse response, DocumentationReturnManagement documentationReturnManagement) {
         documentationBorrowManagementService.exportrevent(response,documentationReturnManagement);

--
Gitblit v1.9.3