|
|
|
@ -481,11 +481,11 @@ public class WarehouseWarehousingEntryServiceImpl extends BaseServiceImpl<Wareho
|
|
|
|
|
WarehouseWarehousingDetailEntity detail = new WarehouseWarehousingDetailEntity(); |
|
|
|
|
detail.setConditions("1"); |
|
|
|
|
detail.setSku(i.getSku()); |
|
|
|
|
detail.setProductCode(i.getProductCode()); |
|
|
|
|
detail.setProductName(i.getProductName()); |
|
|
|
|
detail.setProductCode(i.getProductCode()); |
|
|
|
|
detail.setProductUnit(i.getProductUnit()); |
|
|
|
|
detail.setPackagingNumber(i.getPackagingNumber()); |
|
|
|
|
detail.setProductCode(i.getProductCode().trim()); |
|
|
|
|
detail.setProductName(i.getProductName().trim()); |
|
|
|
|
detail.setProductCode(i.getProductCode().trim()); |
|
|
|
|
detail.setProductUnit(i.getProductUnit().trim()); |
|
|
|
|
detail.setPackagingNumber(i.getPackagingNumber().trim()); |
|
|
|
|
detail.setPackagingSpecifications(i.getPackagingSpecifications()); |
|
|
|
|
detail.setCreateInventory(i.getCreateInventory()); |
|
|
|
|
detail.setWarehousingEntryId(entryEntity.getId()); |
|
|
|
@ -499,7 +499,7 @@ public class WarehouseWarehousingEntryServiceImpl extends BaseServiceImpl<Wareho
|
|
|
|
|
throw new ServiceException(i.getProductName()+i.getProductCode()+i.getSku()+"品牌信息不存在!!请维护客户品牌数据!!!"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
BasicMaterialEntity materialOwn = basicMaterialClient.getMaterialOwn(i.getProductCode(), i.getProductName(), i.getSku()); |
|
|
|
|
BasicMaterialEntity materialOwn = basicMaterialClient.getMaterialOwn(detail.getProductCode(), detail.getProductName(), detail.getSku()); |
|
|
|
|
if(Func.isNotEmpty(materialOwn)){ |
|
|
|
|
detail.setMaterialId(materialOwn.getId());//物料ID
|
|
|
|
|
}else{ |
|
|
|
|