Showing
1 changed file
with
6 additions
and
0 deletions
@@ -3,6 +3,7 @@ package com.yohoufo.order.mq.consumer; | @@ -3,6 +3,7 @@ package com.yohoufo.order.mq.consumer; | ||
3 | 3 | ||
4 | import com.alibaba.fastjson.JSONObject; | 4 | import com.alibaba.fastjson.JSONObject; |
5 | import com.yoho.core.rabbitmq.YhConsumer; | 5 | import com.yoho.core.rabbitmq.YhConsumer; |
6 | +import com.yohobuy.ufo.model.order.common.EnumExpressDataOperateTransferCode; | ||
6 | import com.yohobuy.ufo.model.order.common.EnumExpressDataType; | 7 | import com.yohobuy.ufo.model.order.common.EnumExpressDataType; |
7 | import com.yohobuy.ufo.model.order.common.EnumExpressType; | 8 | import com.yohobuy.ufo.model.order.common.EnumExpressType; |
8 | import com.yohoufo.common.constant.ExpressInfoConstant; | 9 | import com.yohoufo.common.constant.ExpressInfoConstant; |
@@ -141,6 +142,11 @@ private static final Logger LOGGER = LoggerUtils.getMqConsumerLogger(); | @@ -141,6 +142,11 @@ private static final Logger LOGGER = LoggerUtils.getMqConsumerLogger(); | ||
141 | expressInfo.setCreateTime(createTime); | 142 | expressInfo.setCreateTime(createTime); |
142 | expressInfo.setExpressType(initExpressType); | 143 | expressInfo.setExpressType(initExpressType); |
143 | expressInfo.setState(state); | 144 | expressInfo.setState(state); |
145 | + | ||
146 | + //TODO 1 清关失败的物流信息,需要记录下相应的code ,以便后续调用 | ||
147 | + //expressInfo.setOperateTransferCode(EnumExpressDataOperateTransferCode.express_clear_fail_cause_buyer.getCode()); | ||
148 | + //TODO 2 清关失败需要告诉order,更改订单状态,并退费 | ||
149 | + | ||
144 | expressInfoMapper.insert(expressInfo); | 150 | expressInfoMapper.insert(expressInfo); |
145 | 151 | ||
146 | updateSellerDeliverStatusAfterInsertExpress(orderCode,expressInfo); | 152 | updateSellerDeliverStatusAfterInsertExpress(orderCode,expressInfo); |
-
Please register or login to post a comment