|
|
|
@ -101,7 +101,7 @@ public class BpRawMaterialInDetailServiceImpl implements IBpRawMaterialInDetailS
|
|
|
|
|
bpRawMaterialIn1.setWaCode("白坯原料库");
|
|
|
|
|
bpRawMaterialIn1.setMaterialName(bpRawMaterialInDetail.getMaterialName());
|
|
|
|
|
BaseProduct baseProduct = baseProductMapper.selectBaseProductByProductName(bpRawMaterialInDetail.getMaterialName());
|
|
|
|
|
bpRawMaterialIn1.setMaterialCode(String.valueOf(baseProduct));
|
|
|
|
|
bpRawMaterialIn1.setMaterialCode(baseProduct.getProductCode());
|
|
|
|
|
bpRawMaterialIn1.setUnit(bpRawMaterialInDetail.getUnit());
|
|
|
|
|
bpRawMaterialIn1.setAmountReal(bpRawMaterialInDetail.getAmountReal());
|
|
|
|
|
reselt=bpRawMaterialInMapper.insertBpRawMaterialIn(bpRawMaterialIn1);
|
|
|
|
|