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/sales/dto/ReceiptPaymentRecordDto.java |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/main/java/com/ruoyi/sales/dto/ReceiptPaymentRecordDto.java b/src/main/java/com/ruoyi/sales/dto/ReceiptPaymentRecordDto.java
index 42411e1..c2410e8 100644
--- a/src/main/java/com/ruoyi/sales/dto/ReceiptPaymentRecordDto.java
+++ b/src/main/java/com/ruoyi/sales/dto/ReceiptPaymentRecordDto.java
@@ -3,7 +3,7 @@
 import com.baomidou.mybatisplus.annotation.TableField;
 import com.fasterxml.jackson.annotation.JsonFormat;
 import com.ruoyi.framework.aspectj.lang.annotation.Excel;
-import io.swagger.annotations.ApiModelProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
 import lombok.Data;
 import org.springframework.format.annotation.DateTimeFormat;
 
@@ -19,41 +19,41 @@
 @Data
 public class ReceiptPaymentRecordDto {
 
-    @ApiModelProperty(value = "瀹㈡埛鍚堝悓鍙�")
+    @Schema(description = "瀹㈡埛鍚堝悓鍙�")
     @Excel(name = "瀹㈡埛鍚堝悓鍙�")
     private String customerContractNo;
 
-    @ApiModelProperty(value = "瀹㈡埛鍚嶇О")
+    @Schema(description = "瀹㈡埛鍚嶇О")
     @Excel(name = "瀹㈡埛鍚嶇О")
     private String customerName;
 
     @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
     @DateTimeFormat(pattern = "yyyy-MM-dd")
     @Excel(name = "鐧昏鏃ユ湡",width = 30,dateFormat = "yyyy-MM-dd")
-    @ApiModelProperty(value = "鐧昏鏃ユ湡")
+    @Schema(description = "鐧昏鏃ユ湡")
     private LocalDateTime createTime;
 
-    @ApiModelProperty(value = "閿�鍞悎鍚屽彿")
+    @Schema(description = "閿�鍞悎鍚屽彿")
     @Excel(name = "閿�鍞悎鍚屽彿")
     private String salesContractNo;
 
-    @ApiModelProperty(value = "鍥炴閲戦")
+    @Schema(description = "鍥炴閲戦")
     @Excel(name = "鍥炴閲戦")
     private BigDecimal receiptPaymentAmount;
 
-    @ApiModelProperty(value = "椤圭洰鍚嶇О")
+    @Schema(description = "椤圭洰鍚嶇О")
     @Excel(name = "椤圭洰鍚嶇О")
     private String projectName;
 
-    @ApiModelProperty(value = "鍥炴褰㈠紡 0鐢垫眹1鎵垮厬")
+    @Schema(description = "鍥炴褰㈠紡 0鐢垫眹1鎵垮厬")
     @Excel(name = "鍥炴褰㈠紡",readConverterExp = "0=鐢垫眹,1=鎵垮厬")
     private String receiptPaymentType;
 
-    @ApiModelProperty(value = "鐧昏浜�")
+    @Schema(description = "鐧昏浜�")
     @Excel(name = "鐧昏浜�")
     private String registrant;
 
-    @ApiModelProperty(value = "鏉ユ鏃ユ湡")
+    @Schema(description = "鏉ユ鏃ユ湡")
     @JsonFormat(pattern = "yyyy-MM-dd")
     @DateTimeFormat(pattern = "yyyy-MM-dd")
     @Excel(name = "鏉ユ鏃ユ湡",width = 30,dateFormat = "yyyy-MM-dd")

--
Gitblit v1.9.3