自动化立体仓库 - WMS系统
#
lfdMem
2025-03-10 e62b874901a4f357d1ff9aa0fb9ca48f0aa9d3fa
src/main/java/com/zy/common/model/LocDto.java
@@ -1,6 +1,10 @@
package com.zy.common.model;
import com.core.common.Cools;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.List;
/**
 * Created by vincent on 2022/3/28
@@ -15,12 +19,33 @@
    private String maktx;
    private String batch;
    private String brand = "";
    private String standby1 = "";
    private String standby2 = "";
    private String standby3 = "";
    private String boxType1 = "1";
    private String boxType2 = "1";
    private String boxType3 = "1";
    private String orderNo;
    private Double anfme;
    /**
     * 是否冻结  "是否冻结,0.未冻结,1.已冻结"
     */
    private Integer frozen = 1;
    private Integer frozenLoc = 1;
//    private Integer frozen$;
    private boolean lack = false;
    private List<Integer> staNos;
    private Integer staNo;
    public LocDto() {
    }
@@ -53,4 +78,35 @@
        return this.matnr + "(" + this.maktx + ")";
    }
    public void setStaNos(List<Integer> staNos) {
        this.staNos = staNos;
        if (!Cools.isEmpty(staNos)) {
            this.staNo = staNos.get(0);
        }
    }
    public String getFrozen$() {
        if (null == this.frozen){ return null; }
        switch (this.frozen){
            case 0:
                return "正常";
            case 1:
                return "已冻结";
            default:
                return "正常";
        }
    }
    public String getFrozenLoc$() {
        if (null == this.frozenLoc){ return null; }
        switch (this.frozenLoc){
            case 0:
                return "正常";
            case 1:
                return "已冻结";
            default:
                return "正常";
        }
    }
}