|
|
|
@ -504,7 +504,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
} |
|
|
|
|
if (Func.isEmpty(distrilbutionloadingscanDTO.getBarcodes())){ |
|
|
|
|
log.error(method+"barCode参数缺失"); |
|
|
|
|
return R.fail("请联系管理员!!!"); |
|
|
|
|
return R.fail("此库存品暂未进行备货,请联系管理员!!!"); |
|
|
|
|
} |
|
|
|
|
String[] split = distrilbutionloadingscanDTO.getBarcodes().split(","); |
|
|
|
|
List<DisStockListDetailEntity> detailEntities = distributionReservationMapper.selectInventoryListByReservation(distrilbutionloadingscanDTO.getReservationId()); |
|
|
|
@ -569,6 +569,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
distributionLoadscaninvnEntity.setLoadingId(distributionDeliverySelfEntity.getId().toString()); |
|
|
|
|
distributionLoadscaninvnEntity.setOrderPackageCode(inventoryPackage.get(0).getStockPackageCode()); |
|
|
|
|
distributionLoadscaninvnEntity.setInventoryId(inventoryPackage.get(0).getStockListId()); |
|
|
|
|
distributionLoadscaninvnEntity.setInventoryPackageId(inventoryPackage.get(0).getId()); |
|
|
|
|
distributionLoadscaninvnEntity.setDeliveryId(distrilbutionloadingscanDTO.getDeliveryId()); |
|
|
|
|
distributionLoadscaninvnEntity.setReservationId(distrilbutionloadingscanDTO.getReservationId()); |
|
|
|
|
distributionLoadscaninvnEntity.setScanUser(user.getNickName()); |
|
|
|
@ -598,6 +599,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
//修改对应库存品包件的签收数量
|
|
|
|
|
DisStockListDetailEntity disStockListDetailEntity = inventoryPackage.get(0); |
|
|
|
|
disStockListDetailEntity.setStockSignfoStatus(InventorySigningStatusConstant.yiqianshou.getValue()); |
|
|
|
|
disStockListDetailEntity.setStockLockingStatus(InventoryLoadingStatusConstant.yizhuangche.getValue()); |
|
|
|
|
disStockListDetailService.updateById(disStockListDetailEntity); |
|
|
|
|
}else { |
|
|
|
|
//出现不属于当前客户的库存品包件信息
|
|
|
|
|