| | |
| | | package zy.cloud.wms.common.utils; |
| | | |
| | | 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; |
| | | import zy.cloud.wms.manager.entity.*; |
| | | |
| | | /** |
| | | * Created by vincent on 2020/7/14 |
| | |
| | | locDetl.setCount(comb.getCount()); |
| | | locDetl.setWeight(comb.getWeight()); |
| | | } |
| | | |
| | | public static void setLocDetl(LocDetl locDetl, Mat mat) { |
| | | locDetl.setMatnr(mat.getMatnr()); |
| | | locDetl.setMaktx(mat.getMaktx()); |
| | | locDetl.setName(mat.getName()); |
| | | locDetl.setSpecs(mat.getSpecs()); |
| | | locDetl.setModel(mat.getModel()); |
| | | locDetl.setBatch(mat.getBatch()); |
| | | locDetl.setUnit(mat.getUnit()); |
| | | locDetl.setBarcode(mat.getBarcode()); |
| | | locDetl.setDocId(mat.getDocId()); |
| | | locDetl.setDocNum(mat.getDocNum()); |
| | | locDetl.setCustName(mat.getCustName()); |
| | | locDetl.setItemNum(mat.getItemNum()); |
| | | locDetl.setCount(mat.getCount()); |
| | | locDetl.setWeight(mat.getWeight()); |
| | | } |
| | | |
| | | |
| | | public static void setPakout(Pakout pakout, Mat mat) { |
| | | pakout.setMatnr(mat.getMatnr()); |
| | |
| | | locDetl.setDocNum(pakout.getDocNum()); |
| | | } |
| | | |
| | | public static void setOrderDetl(OrderDetl orderDetl, Mat mat) { |
| | | orderDetl.setMatnr(mat.getMatnr()); |
| | | orderDetl.setMaktx(mat.getMaktx()); |
| | | orderDetl.setName(mat.getName()); |
| | | orderDetl.setSpecs(mat.getSpecs()); |
| | | orderDetl.setModel(mat.getModel()); |
| | | orderDetl.setBatch(mat.getBatch()); |
| | | orderDetl.setUnit(mat.getUnit()); |
| | | orderDetl.setBarcode(mat.getBarcode()); |
| | | orderDetl.setItemNum(mat.getItemNum()); |
| | | orderDetl.setCount(mat.getCount()); |
| | | orderDetl.setWeight(mat.getWeight()); |
| | | } |
| | | |
| | | } |