liyuan 1 tydzień temu
rodzic
commit
3be3a0c7bc

+ 79 - 0
blade-service-api/trade-purchase-api/src/main/java/com/trade/purchase/stock/excel/BusinessStockInventoryCheckExcel.java

@@ -0,0 +1,79 @@
+package com.trade.purchase.stock.excel;
+
+import com.alibaba.excel.annotation.ExcelProperty;
+import com.alibaba.excel.annotation.write.style.ColumnWidth;
+import com.alibaba.excel.annotation.write.style.ContentRowHeight;
+import com.alibaba.excel.annotation.write.style.HeadRowHeight;
+import lombok.Data;
+
+import java.io.Serializable;
+import java.math.BigDecimal;
+import java.util.Date;
+
+/**
+ * 库存盘点单导出
+ *
+ * @author Rain
+ */
+@Data
+@ColumnWidth(22)
+@HeadRowHeight(20)
+@ContentRowHeight(18)
+public class BusinessStockInventoryCheckExcel implements Serializable {
+
+	private static final long serialVersionUID = 1L;
+
+	@ExcelProperty("盘点单号")
+	private String formNumber;
+
+	@ExcelProperty("仓库")
+	private String warehouse;
+
+	@ExcelProperty("盘点日期")
+	private Date checkDate;
+
+	@ExcelProperty("状态")
+	private String statusLabel;
+
+	@ExcelProperty("差异数量合计")
+	private Integer totalVarianceQty;
+
+	@ExcelProperty("差异金额合计")
+	private BigDecimal totalVarianceAmount;
+
+	@ExcelProperty("备注")
+	private String remarks;
+
+	@ExcelProperty("制单人")
+	private String creator;
+
+	@ExcelProperty("创建时间")
+	private Date createdAt;
+
+	@ExcelProperty("物料编码")
+	private String materialCode;
+
+	@ExcelProperty("物料名称")
+	private String materialName;
+
+	@ExcelProperty("供应商")
+	private String supplierName;
+
+	@ExcelProperty("库位")
+	private String storageArea;
+
+	@ExcelProperty("账面数量")
+	private Integer bookQuantity;
+
+	@ExcelProperty("实盘数量")
+	private Integer actualQuantity;
+
+	@ExcelProperty("差异数量")
+	private Integer varianceQuantity;
+
+	@ExcelProperty("差异金额")
+	private BigDecimal varianceAmount;
+
+	@ExcelProperty("明细备注")
+	private String note;
+}