From 9fe1ec3afe8696c628d076d1f76686c4efc3012e Mon Sep 17 00:00:00 2001
From: zc <zyzc>
Date: 星期二, 21 十月 2025 10:49:55 +0800
Subject: [PATCH] 容器初始化功能优化
---
rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/excel/PurchaseTemplate.java | 112 +++++++++++++++++++++++++++++++-------------------------
1 files changed, 62 insertions(+), 50 deletions(-)
diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/excel/PurchaseTemplate.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/excel/PurchaseTemplate.java
index a1f9433..b9fbc17 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/excel/PurchaseTemplate.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/excel/PurchaseTemplate.java
@@ -8,6 +8,7 @@
import lombok.experimental.Accessors;
import java.io.Serializable;
+import java.util.Date;
@Data
@ExcelAutoColumnSize
@@ -16,28 +17,27 @@
private static final long serialVersionUID = 1L;
- @Excel(name = "PO鍗曞彿")
- @ApiModelProperty(value= "PO鍗曞彿")
+ @Excel(name = "*PO鍗曞彿")
+ @ApiModelProperty(value= "*PO鍗曞彿")
@ExcelComment(value = "poCode", example = "PO25413975")
private String poCode;
+
+ @Excel(name = "*琛屽彿")
+ @ApiModelProperty(value= "*琛屽彿")
+ @ExcelComment(value = "platItemId", example = "100068541001")
+ private String platItemId;
@Excel(name = "鍗曟嵁绫诲瀷")
@ApiModelProperty(value= "鍗曟嵁绫诲瀷")
- @ExcelComment(value = "type", example = "閲囪喘鍏ュ簱鍗�")
+ @ExcelComment(value = "type", example = "鍏ュ簱鍗�")
private String type;
-
- @Excel(name = "鏉ユ簮骞冲彴")
- @ApiModelProperty(value= "鏉ユ簮骞冲彴")
- @ExcelComment(value = "source", example = "ERP")
- private String source;
@Excel(name = "涓氬姟绫诲瀷")
@ApiModelProperty(value= "涓氬姟绫诲瀷")
- @ExcelComment(value = "wkType", example = "ERP")
+ @ExcelComment(value = "wkType", example = "閲囪喘鍏ュ簱鍗�")
private String wkType;
-
@Excel(name = "椤圭洰鍚嶇О")
@ApiModelProperty(value= "椤圭洰鍚嶇О")
@@ -45,16 +45,17 @@
private String project;
- @Excel(name = "琛屽彿")
- @ApiModelProperty(value= "琛屽彿")
- @ExcelComment(value = "platItemId", example = "100068541001")
- private String platItemId;
+
+// @Excel(name = "鏉ユ簮骞冲彴")
+// @ApiModelProperty(value= "鏉ユ簮骞冲彴")
+// @ExcelComment(value = "source", example = "ERP")
+// private String source;
/**
* 鐗╂枡缂栫爜
*/
- @Excel(name = "鐗╂枡缂栫爜")
- @ApiModelProperty(value= "鐗╂枡缂栫爜")
+ @Excel(name = "*鐗╂枡缂栫爜")
+ @ApiModelProperty(value= "*鐗╂枡缂栫爜")
@ExcelComment(value = "matnrCode", example = "101000000002")
private String matnrCode;
@@ -66,13 +67,13 @@
@ExcelComment(value = "matnrName", example = "TC-03128瀵歌繛浣撳唴涓婃墭")
private String matnrName;
- /**
- * 鍗曚綅
- */
- @Excel(name = "鍗曚綅")
- @ApiModelProperty(value= "鍗曚綅")
- @ExcelComment(value = "unit", example = "涓�")
- private String unit;
+// /**
+// * 鍗曚綅
+// */
+// @Excel(name = "鍗曚綅")
+// @ApiModelProperty(value= "鍗曚綅")
+// @ExcelComment(value = "unit", example = "涓�")
+// private String unit;
/**
* 鏁伴噺
@@ -82,29 +83,38 @@
@ExcelComment(value = "anfme", example = "75")
private Double anfme;
- /**
- * 宸叉敹鏁伴噺
- */
- @Excel(name = "宸叉敹鏁伴噺")
- @ApiModelProperty(value= "宸叉敹鏁伴噺")
- @ExcelComment(value = "qty", example = "0")
- private Double qty;
+// /**
+// * 宸叉敹鏁伴噺
+// */
+// @Excel(name = "宸插畬鎴愰噺")
+// @ApiModelProperty(value= "宸插畬鎴愰噺")
+// @ExcelComment(value = "qty", example = "0")
+// private Double qty;
+
+// /**
+// * 鏍囧噯鍖呰
+// */
+// @Excel(name = "鏍囧噯鍖呰")
+// @ApiModelProperty(value= "鏍囧噯鍖呰")
+// @ExcelComment(value = "nromQty", example = "1")
+// private Double nromQty;
+
+// /**
+// * 鏉$爜鎵撳嵃鏁伴噺
+// */
+// @Excel(name = "鏉$爜鎵撳嵃鏁伴噺")
+// @ApiModelProperty(value= "鏉$爜鎵撳嵃鏁伴噺")
+// @ExcelComment(value = "printQty", example = "0")
+// private Double printQty;
/**
- * 鏍囧噯鍖呰
+ * 渚涘簲鍟嗙紪鐮�
*/
- @Excel(name = "鏍囧噯鍖呰")
- @ApiModelProperty(value= "鏍囧噯鍖呰")
- @ExcelComment(value = "nromQty", example = "1")
- private Double nromQty;
+ @Excel(name = "*渚涘簲鍟嗙紪鐮�")
+ @ApiModelProperty(value= "*渚涘簲鍟嗙紪鐮�")
+ @ExcelComment(value = "splrCode", example = "685947")
+ private String splrCode;
- /**
- * 鏉$爜鎵撳嵃鏁伴噺
- */
- @Excel(name = "鏉$爜鎵撳嵃鏁伴噺")
- @ApiModelProperty(value= "鏉$爜鎵撳嵃鏁伴噺")
- @ExcelComment(value = "printQty", example = "0")
- private Double printQty;
/**
* 渚涘簲鍟嗗悕绉�
@@ -115,14 +125,6 @@
private String splrName;
/**
- * 渚涘簲鍟嗙紪鐮�
- */
- @Excel(name = "渚涘簲鍟嗙紪鐮�")
- @ApiModelProperty(value= "渚涘簲鍟嗙紪鐮�")
- @ExcelComment(value = "splrCode", example = "685947")
- private String splrCode;
-
- /**
* 渚涘簲鍟嗘壒娆�
*/
@Excel(name = "渚涘簲鍟嗘壒娆�")
@@ -131,5 +133,15 @@
private String splrBatch;
+ @Excel(name = "棰勮閫佽揪鏃堕棿")
+ @ApiModelProperty("棰勮閫佽揪鏃堕棿")
+ @ExcelComment(value = "arrTime", example = "2025-05-21")
+ private Date arrTime;
+
+
+ @Excel(name = "澶囨敞")
+ @ApiModelProperty("澶囨敞")
+ @ExcelComment(value = "memo", example = "娉細鏄撶鍝侊紝杞绘嬁鏀�")
+ private String memo;
}
--
Gitblit v1.9.1