From 2e71bdbcdf853bb35e68016b84f0254f7366bfeb Mon Sep 17 00:00:00 2001
From: chenhj <1263187585@qq.com>
Date: 星期五, 24 四月 2026 11:14:28 +0800
Subject: [PATCH] 文件工具类变更
---
src/main/java/com/ruoyi/sales/dto/ReceiptPaymentDto.java | 37 +++++++++++++++++++++----------------
1 files changed, 21 insertions(+), 16 deletions(-)
diff --git a/src/main/java/com/ruoyi/sales/dto/ReceiptPaymentDto.java b/src/main/java/com/ruoyi/sales/dto/ReceiptPaymentDto.java
index c49a3b2..fb2004a 100644
--- a/src/main/java/com/ruoyi/sales/dto/ReceiptPaymentDto.java
+++ b/src/main/java/com/ruoyi/sales/dto/ReceiptPaymentDto.java
@@ -4,7 +4,7 @@
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.sales.pojo.ReceiptPayment;
-import io.swagger.annotations.ApiModelProperty;
+import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
@@ -15,18 +15,23 @@
@Data
public class ReceiptPaymentDto extends ReceiptPayment {
- @ApiModelProperty(value = "瀹㈡埛鍚堝悓鍙�")
+ @Schema(description = "瀹㈡埛鍚堝悓鍙�")
@Excel(name = "瀹㈡埛鍚堝悓鍙�")
private String customerContractNo;
- @ApiModelProperty(value = "瀹㈡埛鍚嶇О")
+ @Schema(description = "鐘舵��")
+ @Excel(name = "鐘舵��")
+ private String statusName;
+
+
+ @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 Date invoiceDate;
@TableField(exist = false)
@@ -34,42 +39,42 @@
@TableField(exist = false)
private String invoiceDateEnd;
- @ApiModelProperty(value = "鏌ヨ鏂囨湰")
+ @Schema(description = "鏌ヨ鏂囨湰")
private String searchText;
- @ApiModelProperty(value = "閿�鍞彴璐ales_ledger")
+ @Schema(description = "閿�鍞彴璐ales_ledger")
@Excel(isExport = false)
- private Integer salesLedgerId;
+ private Long salesLedgerId;
- @ApiModelProperty(value = "閿�鍞悎鍚屽彿")
+ @Schema(description = "閿�鍞悎鍚屽彿")
@Excel(name = "閿�鍞悎鍚屽彿")
private String salesContractNo;
- @ApiModelProperty(value = "瀹㈡埛鍚嶇ОID")
+ @Schema(description = "瀹㈡埛鍚嶇ОID")
@Excel(isExport = false)
private Integer customerId;
- @ApiModelProperty(value = "鍙戠エ鍙�")
+ @Schema(description = "鍙戠エ鍙�")
@Excel(name = "鍙戠エ鍙�")
private String invoiceNo;
- @ApiModelProperty(value = "鍙戠エ閲戦")
+ @Schema(description = "鍙戠エ閲戦")
@Excel(name = "鍙戠エ閲戦")
private BigDecimal invoiceTotal;
- @ApiModelProperty(value = "绋庣巼锛�%锛�")
+ @Schema(description = "绋庣巼锛�%锛�")
@Excel(name = "绋庣巼锛�%锛�")
private BigDecimal taxRate;
- @ApiModelProperty(value = "浜у搧澶х被")
+ @Schema(description = "浜у搧澶х被")
@Excel(name = "浜у搧澶х被")
private String productCategory;
- @ApiModelProperty(value = "鍥炴閲戦")
+ @Schema(description = "鍥炴閲戦")
@Excel(name = "鍥炴閲戦")
private BigDecimal receiptPaymentAmountTotal;
- @ApiModelProperty(value = "寰呭洖娆鹃噾棰�")
+ @Schema(description = "寰呭洖娆鹃噾棰�")
@Excel(name = "寰呭洖娆鹃噾棰�")
private BigDecimal noReceiptAmount;
@@ -84,7 +89,7 @@
@Excel(isExport = false)
private String receiptPaymentDateEnd;
- @ApiModelProperty(value = "椤圭洰鍚嶇О")
+ @Schema(description = "椤圭洰鍚嶇О")
@Excel(name = "椤圭洰鍚嶇О")
private String projectName;
--
Gitblit v1.9.3