#
luxiaotao1123
2021-03-01 a2317309f11921582fb59e7ad2545a94f84720bf
src/main/java/zy/cloud/wms/common/utils/VersionUtils.java
@@ -3,6 +3,7 @@
import zy.cloud.wms.manager.entity.Comb;
import zy.cloud.wms.manager.entity.LocDetl;
import zy.cloud.wms.manager.entity.Mat;
import zy.cloud.wms.manager.entity.Pakout;
/**
 * Created by vincent on 2020/7/14
@@ -45,6 +46,23 @@
        locDetl.setWeight(comb.getWeight());
    }
    public static void setPakout(Pakout pakout, Mat mat) {
        pakout.setMatnr(mat.getMatnr());
        pakout.setMaktx(mat.getMaktx());
        pakout.setName(mat.getName());
        pakout.setSpecs(mat.getSpecs());
        pakout.setModel(mat.getModel());
        pakout.setBatch(mat.getBatch());
        pakout.setUnit(mat.getUnit());
        pakout.setBarcode(mat.getBarcode());
        pakout.setDocId(mat.getDocId());
        pakout.setDocNum(mat.getDocNum());
        pakout.setCustName(mat.getCustName());
        pakout.setItemNum(mat.getItemNum());
        pakout.setCount(mat.getCount());
        pakout.setWeight(mat.getWeight());
    }
}