自动化立体仓库 - WMS系统
zyx
2024-04-07 012f80529db9aa5065f51bde3fd65ff1ffe9eb61
src/main/java/com/zy/asrs/entity/Pla.java
@@ -67,7 +67,7 @@
    //包装号
    @TableField("package_no")
    @ExcelProperty(value = "包装号")
    private String packageNo;
    private Integer packageNo;
    //包装号
    @ExcelProperty(value = "生产日期")
@@ -214,7 +214,7 @@
    //库位
    @TableField("loc_no")
    //@ExcelProperty(value = "库位")
    @ExcelProperty(value = "库位")
    private String locNo;
    //状态
@@ -223,7 +223,7 @@
    //步骤
    @TableField("step")
    private int step;
    private Integer step;
    @TableField("create_time")
    private Date createTime;
@@ -262,13 +262,34 @@
    private String memo;
    @TableField("stock_freeze")
    private int stockFreeze;
    private Integer stockFreeze;
    @TableField("stock_freeze_by")
    private String stockFreezeBy;
    @TableField("stock_freeze_date")
    private Date stockFreezeDate;
    public String getCreateTime$() {
        if (Cools.isEmpty(this.createTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.createTime);
    }
    public String getPackageNo$(){
        if(Cools.isEmpty(packageNo)){
            return null;
        }
        if(packageNo < 10){
            return "00" + packageNo;
        }else if(packageNo < 100){
            return "0" + packageNo;
        }else {
            return packageNo + "";
        }
    }
    public String getPakinTime$() {
        if (Cools.isEmpty(this.pakinTime)){
@@ -281,6 +302,6 @@
        if (Cools.isEmpty(this.stockFreezeDate)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd").format(this.stockFreezeDate);
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.stockFreezeDate);
    }
}