自动化立体仓库 - WMS系统
lty
2025-01-09 aa9f5df9a7ea885dcc157e1dd86dc6ee3c10d488
src/main/java/com/zy/asrs/entity/LocDetl.java
@@ -43,17 +43,18 @@
    @ExcelProperty("商品名称")
    private String maktx;
    @ApiModelProperty(value= "序列码")
    @ExcelProperty("序列码")
    @ApiModelProperty(value= "规格")
    @ExcelProperty("规格")
    private String specs;
    @ApiModelProperty(value= "批号")
    @ExcelProperty("批号")
    private String batch;
    @ApiModelProperty(value= "单据编号")
    @ExcelProperty("单据编号")
    @TableField("order_no")
    private String orderNo;
    @ApiModelProperty(value= "规格")
    private String specs;
    @ApiModelProperty(value= "型号")
    private String model;
@@ -248,6 +249,13 @@
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appeTime);
    }
    public long getStoreDate(){
        long timeNow = new Date().getTime();
        long timeCreate = (this.appeTime != null) ? this.appeTime.getTime() : 0L;
        return (timeNow - timeCreate) /24/60/60/1000;
    }
    public void sync(Object source) {
        Synchro.Copy(source, this);
    }