|
|
|
@ -5881,7 +5881,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
bladeRedis.setEx("warehouseId:" + myCurrentWarehouse.getId() + ":reservationId:", distributionSignfor.getReservationId(), 60L); |
|
|
|
|
NodeFanoutMsg<org.springblade.common.model.DistributionSignforVO> nodeFanoutMsg = buildNodeFanoutMsgByOneClick(distributionDeliveryListEntity, reservationEntity, distributionLoadscaninvnEntityLists, distributionLoadscanEntityLists); |
|
|
|
|
iDistributionNodeWorkService.signFor(nodeFanoutMsg, AuthUtil.getUser()); |
|
|
|
|
return R.status(true); |
|
|
|
|
return Resp.scanSuccess((distributionSignforEntity.getReceivedinQuantity()+distributionSignforEntity.getReceivedQuantity())+"件",(distributionSignforEntity.getReceivedinQuantity()+distributionSignforEntity.getReceivedQuantity())+"件"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private DistributionDeliverySelfEntity getDriver(DistributionDeliveryListEntity distributionDeliveryListEntity, BladeUser user, Boolean isDriverFlag) { |
|
|
|
@ -8385,7 +8385,7 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
distributionAppParcelListVOS.forEach(p -> { |
|
|
|
|
p.setIsAbnormalLoading(1); |
|
|
|
|
if (p.getOrderPackageStatus().equals(OrderPackageStatusConstant.yiqianshou.getValue())) { |
|
|
|
|
p.setIsAbnnormalSigning(1); |
|
|
|
|
p.setIsScan("异常签收"); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
distributionAppStockArticleVO.setDistributionAppParcelListVOS(distributionAppParcelListVOS); |
|
|
|
@ -8434,15 +8434,14 @@ public class DistributionSignforServiceImpl extends BaseServiceImpl<Distribution
|
|
|
|
|
distributionAppParcelListVO.setMaterialName(parcelListEntity.getMaterialName()); |
|
|
|
|
if (distributionLoadscanEntity.getIsAbnormalLoading().equals(2)) { |
|
|
|
|
//异常装车
|
|
|
|
|
distributionAppParcelListVO.setIsAbnormalLoadingName("异常装车"); |
|
|
|
|
distributionAppParcelListVO.setIsAbnormalLoading(1); |
|
|
|
|
distributionAppParcelListVO.setIsScan("异常装车"); |
|
|
|
|
} |
|
|
|
|
if (distributionLoadscanEntity.getSignforState().equals(LoadScanSigningStatusConstant.yiqianshou.getValue())) { |
|
|
|
|
//签收
|
|
|
|
|
if (distributionLoadscanEntity.getIsAbnormalSigning().equals(2)) { |
|
|
|
|
//异常签收
|
|
|
|
|
distributionAppParcelListVO.setIsAbnnormalSigningName("异常签收"); |
|
|
|
|
distributionAppParcelListVO.setIsAbnnormalSigning(1); |
|
|
|
|
distributionAppParcelListVO.setIsScan("异常签收"); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|