From c247f5bf64c98595cc7e4efc9e1ae7ff1df79c11 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 23 四月 2026 14:05:32 +0800
Subject: [PATCH] refactor(swagger): 迁移Swagger注解到OpenAPI 3.0

---
 src/main/java/com/ruoyi/home/dto/ProductionProgressOrderDto.java |   30 +++++++++++++++---------------
 1 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/main/java/com/ruoyi/home/dto/ProductionProgressOrderDto.java b/src/main/java/com/ruoyi/home/dto/ProductionProgressOrderDto.java
index a219e3d..b53bfb3 100644
--- a/src/main/java/com/ruoyi/home/dto/ProductionProgressOrderDto.java
+++ b/src/main/java/com/ruoyi/home/dto/ProductionProgressOrderDto.java
@@ -1,7 +1,7 @@
 package com.ruoyi.home.dto;
 
 import com.fasterxml.jackson.annotation.JsonFormat;
-import io.swagger.annotations.ApiModelProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
 import lombok.Data;
 import org.springframework.format.annotation.DateTimeFormat;
 
@@ -11,47 +11,47 @@
 @Data
 public class ProductionProgressOrderDto {
 
-    @ApiModelProperty("鐢熶骇璁㈠崟鍙�")
+    @Schema(description = "鐢熶骇璁㈠崟鍙�")
     private String npsNo;
 
-    @ApiModelProperty("閿�鍞悎鍚屽彿")
+    @Schema(description = "閿�鍞悎鍚屽彿")
     private String salesContractNo;
 
-    @ApiModelProperty("椤圭洰鍚嶇О")
+    @Schema(description = "椤圭洰鍚嶇О")
     private String projectName;
 
-    @ApiModelProperty("瀹㈡埛鍚嶇О")
+    @Schema(description = "瀹㈡埛鍚嶇О")
     private String customerName;
 
-    @ApiModelProperty("浜у搧鍚嶇О")
+    @Schema(description = "浜у搧鍚嶇О")
     private String productCategory;
 
-    @ApiModelProperty("瑙勬牸鍨嬪彿")
+    @Schema(description = "瑙勬牸鍨嬪彿")
     private String specificationModel;
 
-    @ApiModelProperty("宸ヨ壓璺嚎缂栧彿")
+    @Schema(description = "宸ヨ壓璺嚎缂栧彿")
     private String processRouteCode;
 
-    @ApiModelProperty("闇�姹傛暟閲�")
+    @Schema(description = "闇�姹傛暟閲�")
     private BigDecimal quantity;
 
-    @ApiModelProperty("瀹屾垚鏁伴噺")
+    @Schema(description = "瀹屾垚鏁伴噺")
     private BigDecimal completeQuantity;
 
-    @ApiModelProperty("瀹屾垚杩涘害")
+    @Schema(description = "瀹屾垚杩涘害")
     private BigDecimal completionStatus;
 
-    @ApiModelProperty("BOM缂栧彿")
+    @Schema(description = "BOM缂栧彿")
     private String bomNo;
 
-    @ApiModelProperty("浜ゆ湡鍋忓樊")
+    @Schema(description = "浜ゆ湡鍋忓樊")
     private Integer deliveryDaysDiff;
 
-    @ApiModelProperty("浜ゆ湡")
+    @Schema(description = "浜ゆ湡")
     @JsonFormat(pattern = "yyyy-MM-dd")
     @DateTimeFormat(pattern = "yyyy-MM-dd")
     private LocalDate deliveryDate;
 
-    @ApiModelProperty("鏄惁鍙戣揣")
+    @Schema(description = "鏄惁鍙戣揣")
     private Boolean isFh;
 }

--
Gitblit v1.9.3