|
|
@ -305,6 +305,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution |
|
|
|
//缺少一个异步维护包件签收的方法
|
|
|
|
//缺少一个异步维护包件签收的方法
|
|
|
|
// distributionAsyncService.changeOrderSignforStatus(collect.get(0));
|
|
|
|
// distributionAsyncService.changeOrderSignforStatus(collect.get(0));
|
|
|
|
Integer j = distributionSignforMapper.updateSignforNum(loadscanEntity.getDeliveryId(), loadscanEntity.getReservationId(), loadscanEntity.getPackageNub()); |
|
|
|
Integer j = distributionSignforMapper.updateSignforNum(loadscanEntity.getDeliveryId(), loadscanEntity.getReservationId(), loadscanEntity.getPackageNub()); |
|
|
|
|
|
|
|
warehouseUpdownTypeClient.downPackageOrDelTray(loadscanEntity.getOrderPackageCode(), myCurrentWarehouse.getId()); |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
//这里装车的数据需要进行补录
|
|
|
|
//这里装车的数据需要进行补录
|
|
|
@ -396,7 +397,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution |
|
|
|
} |
|
|
|
} |
|
|
|
String str = checkSignNum(distrilbutionloadingscanDTO); |
|
|
|
String str = checkSignNum(distrilbutionloadingscanDTO); |
|
|
|
//查询出客户下的所有包件信息
|
|
|
|
//查询出客户下的所有包件信息
|
|
|
|
// distributionAsyncService.checkDeliverySignStatus(distrilbutionloadingscanDTO.getBarcode(), distrilbutionloadingscanDTO.getDeliveryId());
|
|
|
|
distributionAsyncService.checkDeliverySignStatus(distrilbutionloadingscanDTO.getBarcode(), distrilbutionloadingscanDTO.getDeliveryId()); |
|
|
|
return Resp.scanSuccess("签收成功", str); |
|
|
|
return Resp.scanSuccess("签收成功", str); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1020,6 +1021,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution |
|
|
|
log.error("########该客户下的库存品是否已备货:{}", isHaveCode); |
|
|
|
log.error("########该客户下的库存品是否已备货:{}", isHaveCode); |
|
|
|
return Resp.scanFail("操作失败", "操作失败"); |
|
|
|
return Resp.scanFail("操作失败", "操作失败"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
distributionAsyncService.checkDeliverySignStatus(distrilbutionloadingscanDTO.getBarcode(), distrilbutionloadingscanDTO.getDeliveryId()); |
|
|
|
return Resp.scanSuccess("签收成功", "签收成功"); |
|
|
|
return Resp.scanSuccess("签收成功", "签收成功"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1839,8 +1841,8 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution |
|
|
|
Integer i = distributionDeliveryListMapper.updateloadingTimeById(distributionDeliveryListEntity.getId()); |
|
|
|
Integer i = distributionDeliveryListMapper.updateloadingTimeById(distributionDeliveryListEntity.getId()); |
|
|
|
//更新签收表的签收数量和装车数量
|
|
|
|
//更新签收表的签收数量和装车数量
|
|
|
|
Integer j = distributionSignforMapper.updateSignforByReservationId(loadscanEntity.getDeliveryId(), loadscanEntity.getReservationId(), loadscanEntity.getPackageNub()); |
|
|
|
Integer j = distributionSignforMapper.updateSignforByReservationId(loadscanEntity.getDeliveryId(), loadscanEntity.getReservationId(), loadscanEntity.getPackageNub()); |
|
|
|
distributionAsyncService.checkSignStatus(loadscanEntity.getPackageId(),loadscanEntity.getReservationId(),loadscanEntity.getDeliveryId()); |
|
|
|
distributionAsyncService.checkStockArticleSignStatus(parcelListEntity); |
|
|
|
|
|
|
|
log.info("一件签收包件下架解托>>>>>>>>>>>>>>>parcelListEntity.getOrderPackageCode():{}",parcelListEntity.getOrderPackageCode()); |
|
|
|
warehouseUpdownTypeClient.downPackageOrDelTray(parcelListEntity.getOrderPackageCode(), myCurrentWarehouse.getId()); |
|
|
|
warehouseUpdownTypeClient.downPackageOrDelTray(parcelListEntity.getOrderPackageCode(), myCurrentWarehouse.getId()); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
//存在装车数据
|
|
|
|
//存在装车数据
|
|
|
@ -1863,6 +1865,9 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution |
|
|
|
//更新签收数量
|
|
|
|
//更新签收数量
|
|
|
|
Integer j = distributionSignforMapper.updateSignforNum(loadscanEntities.getDeliveryId(), loadscanEntities.getReservationId(), loadscanEntities.getPackageNub()); |
|
|
|
Integer j = distributionSignforMapper.updateSignforNum(loadscanEntities.getDeliveryId(), loadscanEntities.getReservationId(), loadscanEntities.getPackageNub()); |
|
|
|
distributionAsyncService.checkSignStatus(loadscanEntities.getPackageId(),loadscanEntities.getReservationId(),loadscanEntities.getDeliveryId()); |
|
|
|
distributionAsyncService.checkSignStatus(loadscanEntities.getPackageId(),loadscanEntities.getReservationId(),loadscanEntities.getDeliveryId()); |
|
|
|
|
|
|
|
log.info("一件签收包件解托>>>>>>>>>>>>>>>parcelListEntity.getOrderPackageCode():{}",parcelListEntity.getOrderPackageCode()); |
|
|
|
|
|
|
|
warehouseUpdownTypeClient.downPackageOrDelTray(parcelListEntity.getOrderPackageCode(), myCurrentWarehouse.getId()); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
distributionParcelListService.updateById(parcelListEntity); |
|
|
|
distributionParcelListService.updateById(parcelListEntity); |
|
|
@ -2830,7 +2835,6 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution |
|
|
|
parcelNumberEntity.setHandQuantity(handQuantity.subtract(signNum).intValue()); |
|
|
|
parcelNumberEntity.setHandQuantity(handQuantity.subtract(signNum).intValue()); |
|
|
|
parcelNumberEntity.setDeliveryQuantity(deliveryQuantity.subtract(signNum).intValue()); |
|
|
|
parcelNumberEntity.setDeliveryQuantity(deliveryQuantity.subtract(signNum).intValue()); |
|
|
|
parcelNumberEntity.setOutboundQuantity(outboundQuantity.add(signNum).intValue()); |
|
|
|
parcelNumberEntity.setOutboundQuantity(outboundQuantity.add(signNum).intValue()); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|