自动化立体仓库 - WMS系统
#
lsh
2024-12-18 e38cf917b19b91bf6c8f07c70fb7bb391e1e80c0
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
@@ -19,6 +23,19 @@
    private String orderNo;
    private Double anfme;
    /**
     * 是否冻结  "是否冻结,0.未冻结,1.已冻结"
     */
    private Integer frozen;
//    private Integer frozen$;
    private boolean lack = false;
    private List<Integer> staNos;
    private Integer staNo;
    public LocDto() {
    }
@@ -51,4 +68,23 @@
        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 "未冻结";
        }
    }
}