自动化立体仓库 - WMS系统
lsh
2025-05-27 07dad0e9ef89346439cfcfb5978b0f1cb8f1b512
src/main/java/com/zy/common/model/LocDto.java
@@ -73,6 +73,34 @@
        this.anfme = anfme;
    }
    public LocDto(String orderNo,String matnr, String batch, String outOrderNo, String luHao, String packing, String sPgNO, String proType, String color) {
        this.matnr = matnr;
        this.orderNo = orderNo;
        if(!Cools.isEmpty(batch)){
            this.batch = batch;
        }
        if(!Cools.isEmpty(outOrderNo)){
            this.outOrderNo = outOrderNo;
        }
        if(!Cools.isEmpty(luHao)){
            this.luHao = luHao;
        }
        if(!Cools.isEmpty(packing)){
            this.packing = packing;
        }
        if(!Cools.isEmpty(sPgNO)){
            this.sPgNO = sPgNO;
        }
        if(!Cools.isEmpty(proType)){
            this.proType = proType;
        }
        if(!Cools.isEmpty(color)){
            this.color = color;
        }
    }
    public String getTitle() {
        return this.matnr + "(" + this.maktx + ")";
    }