提交 11375ff0 authored 作者: 艾庆国's avatar 艾庆国

承运与无车承运对接

上级 451a948d
...@@ -16,6 +16,7 @@ public enum TransportSyncTypeEnum { ...@@ -16,6 +16,7 @@ public enum TransportSyncTypeEnum {
NO_PASS(1, "未通过风控异常"), NO_PASS(1, "未通过风控异常"),
EXCEPTION(2, "同步异常"), EXCEPTION(2, "同步异常"),
RESULT(3, "查询状态"),
; ;
......
...@@ -86,6 +86,12 @@ public class OrderChildSyncTransportListener { ...@@ -86,6 +86,12 @@ public class OrderChildSyncTransportListener {
log.info("当前OrderChildSyncTransportListener监听同步网络货运,运单{}", JSONUtil.parse(orderChildBase).toString()); log.info("当前OrderChildSyncTransportListener监听同步网络货运,运单{}", JSONUtil.parse(orderChildBase).toString());
transportOrderChildProcess(orderChildBase); transportOrderChildProcess(orderChildBase);
OrderChildSyncTransportInvoiceRecord entity = new OrderChildSyncTransportInvoiceRecord();
entity.setChildNo(orderChild.getChildNo());
entity.setType(TransportSyncTypeEnum.Type.RESULT.getCode());
entity.setRemark("异步查询状态");
orderChildSyncTransportInvoiceRecordDao.saveEntity(entity);
} catch (Exception e) { } catch (Exception e) {
log.info("当前OrderChildSyncTransportListener监听同步网络货运失败,运单号{}, 错误信息{}", orderChild.getChildNo(), ExceptionUtils.getStackTrace(e)); log.info("当前OrderChildSyncTransportListener监听同步网络货运失败,运单号{}, 错误信息{}", orderChild.getChildNo(), ExceptionUtils.getStackTrace(e));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论