Authored by qinchao

增加 Todo

... ... @@ -3,6 +3,7 @@ package com.yohoufo.order.mq.consumer;
import com.alibaba.fastjson.JSONObject;
import com.yoho.core.rabbitmq.YhConsumer;
import com.yohobuy.ufo.model.order.common.EnumExpressDataOperateTransferCode;
import com.yohobuy.ufo.model.order.common.EnumExpressDataType;
import com.yohobuy.ufo.model.order.common.EnumExpressType;
import com.yohoufo.common.constant.ExpressInfoConstant;
... ... @@ -141,6 +142,11 @@ private static final Logger LOGGER = LoggerUtils.getMqConsumerLogger();
expressInfo.setCreateTime(createTime);
expressInfo.setExpressType(initExpressType);
expressInfo.setState(state);
//TODO 1 清关失败的物流信息,需要记录下相应的code ,以便后续调用
//expressInfo.setOperateTransferCode(EnumExpressDataOperateTransferCode.express_clear_fail_cause_buyer.getCode());
//TODO 2 清关失败需要告诉order,更改订单状态,并退费
expressInfoMapper.insert(expressInfo);
updateSellerDeliverStatusAfterInsertExpress(orderCode,expressInfo);
... ...