diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java index a3f27f09b..08a83fefc 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java @@ -1329,15 +1329,33 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl>>>> 推送老系统签收信息报错", e); + log.error(">>>>> 推送老系统自提签收信息报错", e); return false; } } + /** + * 转换老系统的ID + * @param delivery + */ + private void modifyWarehouseId(SignPushDataDTO delivery) { + + if(!Objects.isNull(delivery.getWarehouseId())){ + // 查询老系统的ID + BasicdataWarehouseEntity entityWarehouseId = warehouseClient.getEntityWarehouseId(delivery.getWarehouseId()); + if(Objects.nonNull(entityWarehouseId)){ + delivery.setWarehouseId(Long.parseLong(entityWarehouseId.getOldId()+"")); + } + } + + } + /** * 构建名称和电话号码