pjb
2024-06-25 8ffff6a25190ee55bd981d2d1825f0dd813dc4e9
src/main/java/com/zy/common/model/MatDto.java
@@ -1,5 +1,6 @@
package com.zy.common.model;
import com.core.common.Cools;
import lombok.Data;
/**
@@ -23,6 +24,9 @@
    // 库位数量
    private Double total;
    // 批次
    private String batch;
    public MatDto() {
    }
@@ -37,6 +41,14 @@
        this.maknx = maknx;
        this.count = count;
    }
    public MatDto(String matNo, String maknx, Double count,String specs,String batch, String memo) {
        this.batch = batch;
        this.specs = specs;
        this.matnr = matNo;
        this.maknx = maknx;
        this.count = count;
        this.total = Cools.isEmpty(memo) ? 0 : Double.valueOf(memo);
    }
    public MatDto(String matNo, String maknx, Double count,Double total,String specs) {
        this.specs = specs;
        this.matnr = matNo;