From 11214e3074266a23fe61e8eebbce647fdb7305ef Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期五, 12 六月 2026 18:02:03 +0800
Subject: [PATCH] 报价单修改-优化,增加导入记录,降价历史
---
src/main/java/com/ruoyi/sales/pojo/SalesQuotationPriceHistory.java | 69 ++++++++++++++++++++++++++++++++++
1 files changed, 69 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/ruoyi/sales/pojo/SalesQuotationPriceHistory.java b/src/main/java/com/ruoyi/sales/pojo/SalesQuotationPriceHistory.java
new file mode 100644
index 0000000..e0c45fc
--- /dev/null
+++ b/src/main/java/com/ruoyi/sales/pojo/SalesQuotationPriceHistory.java
@@ -0,0 +1,69 @@
+package com.ruoyi.sales.pojo;
+
+import com.baomidou.mybatisplus.annotation.*;
+import io.swagger.v3.oas.annotations.media.Schema;
+import lombok.Data;
+
+import java.math.BigDecimal;
+import java.time.LocalDateTime;
+
+/**
+ * 閿�鍞姤浠烽檷浠疯褰�
+ */
+@Data
+@TableName("sales_quotation_price_history")
+@Schema(description = "閿�鍞姤浠烽檷浠疯褰�")
+public class SalesQuotationPriceHistory {
+
+ @TableId(value = "id", type = IdType.AUTO)
+ @Schema(description = "涓婚敭ID")
+ private Long id;
+
+ @Schema(description = "鎶ヤ环鍗旾D")
+ private Long quotationId;
+
+ @Schema(description = "鎶ヤ环鍟嗗搧ID")
+ private Long quotationProductId;
+
+ @Schema(description = "鍟嗗搧鍚嶇О")
+ private String productName;
+
+ @Schema(description = "鍟嗗搧瑙勬牸")
+ private String specification;
+
+ @Schema(description = "鍘熷崟浠�")
+ private BigDecimal oldPrice;
+
+ @Schema(description = "鏂板崟浠�")
+ private BigDecimal newPrice;
+
+ @Schema(description = "浠锋牸鍙樺姩锛堟柊-鏃э紝璐熸暟琛ㄧず闄嶄环锛�")
+ private BigDecimal priceChange;
+
+ @Schema(description = "鍙樺姩鍘熷洜")
+ private String changeReason;
+
+ @Schema(description = "瀵煎叆鎵规鍙�")
+ private String importBatch;
+
+ @Schema(description = "瀵煎叆鏃堕棿")
+ private LocalDateTime importTime;
+
+ @Schema(description = "鎿嶄綔浜篒D")
+ private Long createUser;
+
+ @Schema(description = "鎿嶄綔浜哄鍚�")
+ private String createUserName;
+
+ @Schema(description = "鍒涘缓鏃堕棿")
+ @TableField(fill = FieldFill.INSERT)
+ private LocalDateTime createTime;
+
+ @Schema(description = "绉熸埛ID")
+ @TableField(fill = FieldFill.INSERT)
+ private Long tenantId;
+
+ @Schema(description = "閮ㄩ棬ID")
+ @TableField(fill = FieldFill.INSERT)
+ private Long deptId;
+}
\ No newline at end of file
--
Gitblit v1.9.3