自动化立体仓库 - WMS系统
Junjie
2023-05-16 ee4643ab09a85661532fd75ddb45a1b44e92f530
src/main/java/com/zy/asrs/entity/Mat.java
@@ -59,8 +59,15 @@
     * 商品编号
     */
    @ApiModelProperty(value= "商品编号")
    @ExcelProperty(value = "商品编码")
    @ExcelProperty(value = "商品编号")
    private String matnr;
    /**
     * 商品编号
     */
    @ApiModelProperty(value= "新商品编号")
    @ExcelProperty(value = "新商品编号")
    private String matnrNew;
    /**
@@ -306,14 +313,29 @@
    @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() {}
@@ -504,7 +526,7 @@
    public String getStoreMax$(){
        if (Cools.isEmpty(this.storeMax)) {
            return "未设置";
            return "";
        }else {
            return this.storeMax + "";
        }
@@ -512,7 +534,7 @@
    public String getStoreMin$(){
        if (Cools.isEmpty(this.storeMin)) {
            return "未设置";
            return "";
        }else {
            return this.storeMin + "";
        }
@@ -520,9 +542,20 @@
    public String getStoreMaxDate$(){
        if (Cools.isEmpty(this.storeMaxDate)) {
            return "未设置";
            return "";
        }else {
            return this.storeMaxDate + "天";
            return this.storeMaxDate + "";
        }
    }
    public String getInoutEveryday$(){
        if (this.inoutEveryday == null){
            return "否";
        }
        if (this.inoutEveryday){
            return "是";
        }else {
            return "否";
        }
    }