pjb
2024-07-05 d978d0937401e40b23ef81499c8656257d7bd297
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;
/**
@@ -26,6 +27,8 @@
    // 批次
    private String batch;
    private String locNo;
    public MatDto() {
    }
@@ -40,12 +43,13 @@
        this.maknx = maknx;
        this.count = count;
    }
    public MatDto(String matNo, String maknx, Double count,String specs,String batch) {
    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;