From a94f969424664177fe44ee008d75a0e473c2f9ca Mon Sep 17 00:00:00 2001
From: maven <2163098428@qq.com>
Date: 星期二, 13 一月 2026 10:55:23 +0800
Subject: [PATCH] yys app-入库导出接口
---
src/main/java/com/ruoyi/procurementrecord/pojo/CustomStorage.java | 74 +++++++++++++++++++++---------------
1 files changed, 43 insertions(+), 31 deletions(-)
diff --git a/src/main/java/com/ruoyi/procurementrecord/pojo/CustomStorage.java b/src/main/java/com/ruoyi/procurementrecord/pojo/CustomStorage.java
index 1091560..82175f6 100644
--- a/src/main/java/com/ruoyi/procurementrecord/pojo/CustomStorage.java
+++ b/src/main/java/com/ruoyi/procurementrecord/pojo/CustomStorage.java
@@ -18,11 +18,19 @@
@Data
public class CustomStorage {
+ @TableField(exist = false)
+ private String ids;
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Integer id;
+
+ /**
+ * 鍥剧墖
+ */
+ @Excel(name = "鍥剧墖", cellType = Excel.ColumnType.IMAGE, height = 114, width = 25)
+ private String url;
// 鍏ュ簱鏃堕棿
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
@DateTimeFormat(pattern = "yyyy-MM-dd")
@@ -32,61 +40,58 @@
@TableField(exist = false)
private String timeStr;
- /**
- * 寰呭嚭搴撴暟閲�
- */
- @Excel(name = "寰呭嚭搴撴暟閲�")
- @TableField(exist = false)
- private BigDecimal inboundNum0;
-
- /**
- * 鍥剧墖
- */
- private String url;
- /**
- * 鍑哄簱鏁伴噺
- */
- @Excel(name = "鍑哄簱鏁伴噺")
- @TableField(exist = false)
- private BigDecimal totalInboundNum = BigDecimal.ZERO;
// 鐗╁搧绫诲瀷
- @Excel(name = "鐗╁搧绫诲瀷")
+// @Excel(name = "鐗╁搧绫诲瀷")
private String itemType;
// 鍏ュ簱鎵规
- @Excel(name = "鍏ュ簱鎵规")
+// @Excel(name = "鍏ュ簱鎵规")
private String inboundBatches;
// 鍏ュ簱鏁伴噺
@Excel(name = "鍏ュ簱鏁伴噺")
private BigDecimal inboundNum;
// 渚涘簲鍟嗗悕绉�
- @Excel(name = "渚涘簲鍟嗗悕绉�")
+// @Excel(name = "渚涘簲鍟嗗悕绉�")
private String supplierName;
// 浜у搧澶х被
- @Excel(name = "浜у搧澶х被")
+ @Excel(name = "浜у搧鍚嶇О")
private String productCategory;
// 瑙勬牸鍨嬪彿
- @Excel(name = "瑙勬牸鍨嬪彿")
+ @Excel(name = "浜у搧楂樺害")
private String specificationModel;
// 鍗曚綅
- @Excel(name = "鍗曚綅")
+// @Excel(name = "鍗曚綅")
private String unit;
// 鍚◣鍗曚环
- @Excel(name = "鍚◣鍗曚环")
+ @Excel(name = "鍗曚环(鍏�)/浠�")
private BigDecimal taxInclusiveUnitPrice;
// 鍚◣鎬讳环
- @Excel(name = "鍚◣鎬讳环")
+// @Excel(name = "鍚◣鎬讳环")
private BigDecimal taxInclusiveTotalPrice;
// 绋庣巼(%)
- @Excel(name = "绋庣巼(%)")
+// @Excel(name = "绋庣巼(%)")
private BigDecimal taxRate;
// 涓嶅惈绋庢�讳环
- @Excel(name = "涓嶅惈绋庢�讳环")
+// @Excel(name = "涓嶅惈绋庢�讳环")
private BigDecimal taxExclusiveTotalPrice;
/**
* 鍏ュ簱鐢ㄦ埛
*/
@Excel(name = "鍏ュ簱鐢ㄦ埛")
private String createBy;
+ /**
+ * 寰呭嚭搴撴暟閲�
+ */
+ @Excel(name = "寰呭嚭搴撴暟閲�")
+ @TableField(exist = false)
+ private BigDecimal inboundNum0 = BigDecimal.ZERO;
+
+
+ /**
+ * 鍑哄簱鏁伴噺
+ */
+ @Excel(name = "鍑哄簱鏁伴噺")
+ @TableField(exist = false)
+ private BigDecimal totalInboundNum = BigDecimal.ZERO;
/**
* 鍏ュ簱鐢ㄦ埛id
*/
@@ -97,8 +102,8 @@
* 鍏ュ簱鏃堕棿
*/
@TableField(fill = FieldFill.INSERT)
- @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
- @DateTimeFormat(pattern = "yyyy-MM-dd")
+// @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
+// @DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDateTime createTime;
/**
@@ -111,8 +116,8 @@
* 淇敼鏃堕棿
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+// @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private LocalDateTime updateTime;
/**
@@ -123,9 +128,16 @@
/**
* 姣忕鏁伴噺
*/
+ @Excel(name = "姣忕鏁伴噺")
private Integer boxNum;
/**
* 姣忕瑙勬牸
*/
+ @Excel(name = "姣忕瑙勬牸")
private String cartonSpecifications;
+ /**
+ * 缇庡厓姣忎欢
+ */
+ @Excel(name = "鍗曚环(缇庡厓)/浠�")
+ private BigDecimal dollarPrice;
}
--
Gitblit v1.9.3