|
@@ -2,8 +2,17 @@ package org.jeecg.modules.wzOutboundOrderBNew.entity;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.io.UnsupportedEncodingException;
|
|
|
+import java.lang.reflect.Type;
|
|
|
import java.util.Date;
|
|
|
import java.math.BigDecimal;
|
|
|
+
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnore;
|
|
|
+import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import com.alibaba.excel.converters.bigdecimal.BigDecimalNumberConverter;
|
|
|
+import com.alibaba.excel.converters.bigdecimal.BigDecimalStringConverter;
|
|
|
+import com.alibaba.excel.converters.date.DateDateConverter;
|
|
|
+import com.alibaba.excel.converters.date.DateNumberConverter;
|
|
|
+import com.alibaba.excel.converters.date.DateStringConverter;
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
@@ -26,7 +35,7 @@ import lombok.experimental.Accessors;
|
|
|
*/
|
|
|
@Data
|
|
|
@TableName("wz_outbound_order_b_new")
|
|
|
-@Accessors(chain = true)
|
|
|
+@Accessors(chain = false)
|
|
|
@EqualsAndHashCode(callSuper = false)
|
|
|
@ApiModel(value="wz_outbound_order_b_new对象", description="wz_outbound_order_b_new")
|
|
|
public class WzOutboundOrderBNew implements Serializable {
|
|
@@ -34,6 +43,7 @@ public class WzOutboundOrderBNew implements Serializable {
|
|
|
|
|
|
/**id*/
|
|
|
@TableId(type = IdType.ASSIGN_ID)
|
|
|
+ @ExcelIgnore
|
|
|
@ApiModelProperty(value = "id")
|
|
|
private java.lang.String id;
|
|
|
/**来源(日期)*/
|
|
@@ -122,16 +132,19 @@ public class WzOutboundOrderBNew implements Serializable {
|
|
|
private java.lang.String sccs;
|
|
|
/**应发数量*/
|
|
|
@Excel(name = "应发数量", width = 15)
|
|
|
+ @ExcelProperty(converter = BigDecimalNumberConverter.class)
|
|
|
@ApiModelProperty(value = "应发数量")
|
|
|
private java.math.BigDecimal yfsl;
|
|
|
/**实发数量*/
|
|
|
@Excel(name = "实发数量", width = 15)
|
|
|
+ @ExcelProperty(converter = BigDecimalNumberConverter.class)
|
|
|
@ApiModelProperty(value = "实发数量")
|
|
|
private java.math.BigDecimal sfsl;
|
|
|
/**质保有效期*/
|
|
|
- @Excel(name = "质保有效期", width = 15, format = "yyyy-MM-dd")
|
|
|
- @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
|
- @DateTimeFormat(pattern="yyyy-MM-dd")
|
|
|
+// @Excel(name = "质保有效期", width = 15, format = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @ExcelProperty(value = "质保有效期", converter = DateStringConverter.class)
|
|
|
+ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
|
@ApiModelProperty(value = "质保有效期")
|
|
|
private java.util.Date zbyxq;
|
|
|
/**质保单位*/
|
|
@@ -200,14 +213,17 @@ public class WzOutboundOrderBNew implements Serializable {
|
|
|
private java.lang.String nzyj;
|
|
|
/**单价*/
|
|
|
@Excel(name = "单价", width = 15)
|
|
|
+ @ExcelProperty(converter = BigDecimalStringConverter.class)
|
|
|
@ApiModelProperty(value = "单价")
|
|
|
private java.math.BigDecimal nbdj;
|
|
|
/**采购单价*/
|
|
|
@Excel(name = "采购单价", width = 15)
|
|
|
+ @ExcelProperty(converter = BigDecimalStringConverter.class)
|
|
|
@ApiModelProperty(value = "采购单价")
|
|
|
private java.math.BigDecimal cgdj;
|
|
|
/**金额*/
|
|
|
@Excel(name = "金额", width = 15)
|
|
|
+ @ExcelProperty(converter = BigDecimalNumberConverter.class)
|
|
|
@ApiModelProperty(value = "金额")
|
|
|
private java.math.BigDecimal je;
|
|
|
/**储位号*/
|
|
@@ -239,7 +255,8 @@ public class WzOutboundOrderBNew implements Serializable {
|
|
|
@ApiModelProperty(value = "批次号")
|
|
|
private java.lang.String pch;
|
|
|
/**首次入库时间*/
|
|
|
- @Excel(name = "首次入库时间", width = 15, format = "yyyy-MM-dd")
|
|
|
+// @Excel(name = "首次入库时间", width = 15, format = "yyyy-MM-dd")
|
|
|
+ @ExcelProperty(value = "首次入库时间", converter = DateStringConverter.class)
|
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
|
@DateTimeFormat(pattern="yyyy-MM-dd")
|
|
|
@ApiModelProperty(value = "首次入库时间")
|