Browse Source

1.自提签收报错

(cherry picked from commit 060a827606)
master
pref_mail@163.com 8 months ago committed by zhenghaoyu
parent
commit
0a3e2cd7ca
  1. 8
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java

8
blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistrilbutionBillLadingServiceImpl.java

@ -3305,6 +3305,7 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb
return false; return false;
} }
Set<Long> parcelListIds = new HashSet<>(); Set<Long> parcelListIds = new HashSet<>();
try{
for (int i = 0; i < split.length; i++) { for (int i = 0; i < split.length; i++) {
String s = split[i]; String s = split[i];
//查询是不是上传图片 //查询是不是上传图片
@ -3383,6 +3384,11 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb
// 回传老系统自提数据 // 回传老系统自提数据
sendOldSystem(Long.parseLong(s)); sendOldSystem(Long.parseLong(s));
} }
}catch (Exception e){
log.error(">>>>>",e);
return false;
}
// 回传工厂数据 // 回传工厂数据
sendFactory(myCurrentWarehouse, parcelListIds); sendFactory(myCurrentWarehouse, parcelListIds);
@ -3467,7 +3473,7 @@ public class DistrilbutionBillLadingServiceImpl extends BaseServiceImpl<Distrilb
map.put("messageData", JSONUtil.toJsonStr(orderStatusDTO)); map.put("messageData", JSONUtil.toJsonStr(orderStatusDTO));
rabbitTemplate.convertAndSend(RabbitConstant.HWY_ORDER_STATUS_EXCHANGE, RabbitConstant.HWY_ORDER_STATUS_ROUTING, map); rabbitTemplate.convertAndSend(RabbitConstant.HWY_ORDER_STATUS_EXCHANGE, RabbitConstant.HWY_ORDER_STATUS_ROUTING, map);
} catch (Exception e) { } catch (Exception e) {
log.error("入库推送失败:{}", e); log.error("入库推送失败:", e);
} }
} }

Loading…
Cancel
Save