Authored by qinchao

加注释

@@ -140,8 +140,7 @@ private static final Logger LOGGER = LoggerUtils.getMqConsumerLogger(); @@ -140,8 +140,7 @@ private static final Logger LOGGER = LoggerUtils.getMqConsumerLogger();
140 expressInfo.setExpressType(initExpressType); 140 expressInfo.setExpressType(initExpressType);
141 expressInfo.setState(state); 141 expressInfo.setState(state);
142 142
143 - //TODO 1 清关失败和清关成功的物流信息,需要记录下相应的code ,以便后续调用  
144 - //TODO 2 清关失败需要告诉order,更改订单状态,并退费 143 + //清关失败和清关成功的物流信息,需要在OperateTransferCode记录下相应的code ,以便自动确认查询
145 boolean existClearFail=false; 144 boolean existClearFail=false;
146 if(ExpressInfoConstant.EXPRESS_CLEAR_SUCCESS.equals(state)){ 145 if(ExpressInfoConstant.EXPRESS_CLEAR_SUCCESS.equals(state)){
147 //清关成功的纪录 146 //清关成功的纪录
@@ -157,7 +156,8 @@ private static final Logger LOGGER = LoggerUtils.getMqConsumerLogger(); @@ -157,7 +156,8 @@ private static final Logger LOGGER = LoggerUtils.getMqConsumerLogger();
157 } 156 }
158 157
159 if(existClearFail){ 158 if(existClearFail){
160 - //异步调用接口 order 退款 159 + //TODO 清关失败需要告诉order,更改订单状态,并退费
  160 + //异步通知order清关失败
161 LOGGER.info("exist express clear fail call,orderCode {},uid {},waybillCode {},state {} ", orderCode,uid,waybillCode,state); 161 LOGGER.info("exist express clear fail call,orderCode {},uid {},waybillCode {},state {} ", orderCode,uid,waybillCode,state);
162 162
163 } 163 }
@@ -184,7 +184,7 @@ private static final Logger LOGGER = LoggerUtils.getMqConsumerLogger(); @@ -184,7 +184,7 @@ private static final Logger LOGGER = LoggerUtils.getMqConsumerLogger();
184 } 184 }
185 185
186 186
187 - // TODO 鉴定中心到买家的 ,需要确认收货的,需要调用 187 + // TODO 只有鉴定中心到买家的类型 ,才需要确认收货的,需要调用
188 if(expressType!=null&&EnumExpressType.EXPRESS_TYPE_2.getCode().intValue()==expressType.intValue()){ 188 if(expressType!=null&&EnumExpressType.EXPRESS_TYPE_2.getCode().intValue()==expressType.intValue()){
189 //调用确认收货接口 method=ufo.buyer.confirm 189 //调用确认收货接口 method=ufo.buyer.confirm
190 LOGGER.info("handle accept express,orderCode {},uid {},waybillCode {},state {} ", orderCode,uid,waybillCode,state); 190 LOGGER.info("handle accept express,orderCode {},uid {},waybillCode {},state {} ", orderCode,uid,waybillCode,state);