From ce98987d8b1990485af8627b8c0f607989bbef4f Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 30 四月 2026 17:36:10 +0800
Subject: [PATCH] refactor(home): 生产大屏bug注释

---
 src/main/java/com/ruoyi/basic/controller/StorageAttachmentController.java |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/src/main/java/com/ruoyi/basic/controller/StorageAttachmentController.java b/src/main/java/com/ruoyi/basic/controller/StorageAttachmentController.java
index d79f911..79ae5d4 100644
--- a/src/main/java/com/ruoyi/basic/controller/StorageAttachmentController.java
+++ b/src/main/java/com/ruoyi/basic/controller/StorageAttachmentController.java
@@ -1,16 +1,10 @@
 package com.ruoyi.basic.controller;
 
-import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.ruoyi.basic.dto.StorageAttachmentDTO;
-import com.ruoyi.basic.dto.StorageBlobDTO;
-import com.ruoyi.basic.dto.SupplierManageDto;
-import com.ruoyi.basic.enums.ApplicationTypeEnum;
-import com.ruoyi.basic.enums.RecordTypeEnum;
-import com.ruoyi.basic.pojo.StorageAttachment;
 import com.ruoyi.basic.service.StorageAttachmentService;
-import com.ruoyi.common.constant.StorageAttachmentConstants;
-import com.ruoyi.common.enums.StorageAttachmentRecordType;
 import com.ruoyi.framework.web.domain.R;
+import io.swagger.v3.oas.annotations.Operation;
+import io.swagger.v3.oas.annotations.tags.Tag;
 import lombok.AllArgsConstructor;
 import org.springframework.web.bind.annotation.*;
 
@@ -18,26 +12,31 @@
 
 @RestController
 @AllArgsConstructor
-    @RequestMapping("/basic/storage_attachment")
+@Tag(name = "閫氱敤涓婁紶")
+@RequestMapping("/storageAttachment")
 public class StorageAttachmentController {
     private StorageAttachmentService storageAttachmentService;
 
     /**
      * 鍒嗛〉鏌ヨ閫氱敤鏂囦欢涓婁紶鐨勯檮浠朵俊鎭�
+     *
      * @param storageAttachmentDTO 鍏宠仈璁板綍淇℃伅
      * @return 鍒嗛〉缁撴灉
      */
     @GetMapping("/list")
+    @Operation(summary = "鍒嗛〉鏌ヨ閫氱敤鏂囦欢涓婁紶鐨勯檮浠朵俊鎭�")
     public R list(StorageAttachmentDTO storageAttachmentDTO) {
         return R.ok(storageAttachmentService.list(storageAttachmentDTO));
     }
 
     /**
      * 鍒犻櫎閫氱敤鏂囦欢涓婁紶鐨勯檮浠朵俊鎭�
+     *
      * @param ids 鏂囦欢id鍒楄〃
      * @return 鍒犻櫎缁撴灉
      */
     @DeleteMapping("/delete")
+    @Operation(summary = "鍒犻櫎閫氱敤鏂囦欢涓婁紶鐨勯檮浠朵俊鎭�")
     public R batchDelete(@RequestBody List<Long> ids) {
         return R.ok(storageAttachmentService.batchDeleteStorageAttachment(ids));
     }
@@ -46,6 +45,7 @@
      * 淇濆瓨閫氱敤鏂囦欢涓婁紶鐨勯檮浠朵俊鎭�
      */
     @PostMapping("/add")
+    @Operation(summary = "淇濆瓨閫氱敤鏂囦欢涓婁紶鐨勯檮浠朵俊鎭�")
     public R add(@RequestBody StorageAttachmentDTO storageAttachmentDTO) {
         storageAttachmentService.saveStorageAttachment(storageAttachmentDTO);
         return R.ok();

--
Gitblit v1.9.3