自动化立体仓库 - WMS系统
#
mrzhssss
2022-10-28 103c9cfb51142885dd2b5e7332e6de3bf63d631a
src/main/java/com/zy/asrs/entity/Mat.java
@@ -151,7 +151,7 @@
     * 厂家
     */
    @ApiModelProperty(value= "厂家")
    @ExcelProperty(value = "商品编号")
    @ExcelProperty(value = "厂家")
    private String manu;
    /**
@@ -305,6 +305,22 @@
    @ApiModelProperty(value= "备注")
    @ExcelProperty(value = "备注")
    private String memo;
    @TableField("store_max")
    private Double storeMax;
    @TableField("store_min")
    private Double storeMin;
    @TableField("store_max_date")
    private Integer storeMaxDate;
    /**
     * 是否为频繁入出库物料
     */
    @TableField("inout_everyday")
    private Boolean inoutEveryday;
    public Mat() {}
@@ -492,4 +508,39 @@
    }
    public String getStoreMax$(){
        if (Cools.isEmpty(this.storeMax)) {
            return "未设置";
        }else {
            return this.storeMax + "";
        }
    }
    public String getStoreMin$(){
        if (Cools.isEmpty(this.storeMin)) {
            return "未设置";
        }else {
            return this.storeMin + "";
        }
    }
    public String getStoreMaxDate$(){
        if (Cools.isEmpty(this.storeMaxDate)) {
            return "未设置";
        }else {
            return this.storeMaxDate + "天";
        }
    }
    public String getInoutEveryday$(){
        if (this.inoutEveryday == null){
            return "否";
        }
        if (this.inoutEveryday){
            return "是";
        }else {
            return "否";
        }
    }
}