自动化立体仓库 - WCS系统
#
lsh
2024-09-13 ae0c9d3eaa416147007f433fef28f099937eceb2
src/main/java/com/zy/common/model/MatDto.java
@@ -11,6 +11,7 @@
    // 物料编号  规格
    private String matNo;
    private String matnr;
    // 物料名称  规格
    private String maknx;
@@ -24,8 +25,15 @@
    //批次
    private String model;
    //卷号
//    private String juanNo;
    private String price;
    private String orderNo;
    // 物料数量
    private Double count;
    private Double weight;
    private Double volume;
    public MatDto() {
    }
@@ -40,12 +48,24 @@
        this.matNo = matNo;
        this.maknx = maknx;
        this.count = count;
        this.specs = specs;
    }
    public MatDto(WrkDetl wrkDetl) {
        this.matNo = wrkDetl.getMatnr();
        this.maknx = wrkDetl.getMaktx();
        this.specs = wrkDetl.getMatnr();
        this.batch = wrkDetl.getBatch();
        this.count = wrkDetl.getAnfme();
        try{
            this.matNo = wrkDetl.getMatnr();
            this.matnr = wrkDetl.getMatnr();
            this.maknx = wrkDetl.getMaktx();
            this.specs = wrkDetl.getSpecs();
            this.batch = wrkDetl.getBatch();
            this.model = wrkDetl.getModel();
            this.price = wrkDetl.getPrice().toString();
//        this.juanNo = wrkDetl.getSku();
            this.count = wrkDetl.getAnfme();
            this.weight = wrkDetl.getWeight();
            this.volume = wrkDetl.getVolume();
            this.orderNo = wrkDetl.getOrderNo();
        } catch (Exception e){
            System.out.println("异常MatDto68");
        }
    }
}