自动化立体仓库 - WCS系统
#
Junjie
2023-10-20 a36cfef04df2bd4931e0eacab1bf9cda57b24863
src/main/java/com/zy/common/model/MatDto.java
@@ -13,6 +13,18 @@
    private String matnr;
    // 物料名称
    private String maknx;
    // 库位规格
    private String specs;
    // 物料数量
    private Double count;
    // 库位数量
    private Double total;
    // 物料名称
    private String model;
    // 条码
@@ -20,12 +32,6 @@
    // 订单编号
    private String orderNo;
    // 已出
    private Double count;
    // 总数量
    private Double total;
    public MatDto() {
    }
@@ -35,7 +41,25 @@
        this.model = orderDetl.getModel();
        this.batch = orderDetl.getBatch();
        this.orderNo = orderDetl.getOrderNo();
        this.count = orderDetl.getQty() + orderDetl.getWeight();
        this.count = orderDetl.getQty();
        this.total = orderDetl.getAnfme();
    }
    public MatDto(String matNo, String maknx, Double count) {
        this.matnr = matNo;
        this.maknx = maknx;
        this.count = count;
    }
    public MatDto(String matNo, String maknx, Double count,String specs) {
        this.specs = specs;
        this.matnr = matNo;
        this.maknx = maknx;
        this.count = count;
    }
    public MatDto(String matNo, String maknx, Double count,Double total,String specs) {
        this.specs = specs;
        this.matnr = matNo;
        this.maknx = maknx;
        this.count = count;
        this.total = total;
    }
}