Authored by qinchao

add log

@@ -56,11 +56,12 @@ public class BuyerOrderCancelShamDeliveryMsgConsumer implements YhConsumer { @@ -56,11 +56,12 @@ public class BuyerOrderCancelShamDeliveryMsgConsumer implements YhConsumer {
56 List<ExpressInfo> ls = expressInfoMapper.selectByOrderCodeAndExpressType(orderCode, EnumExpressType.EXPRESS_TYPE_1.getCode()); 56 List<ExpressInfo> ls = expressInfoMapper.selectByOrderCodeAndExpressType(orderCode, EnumExpressType.EXPRESS_TYPE_1.getCode());
57 ls = ls.stream().filter(info->(EnumExpressDataType.erp_logistics.getCode()==info.getDataType())).collect(Collectors.toList()); 57 ls = ls.stream().filter(info->(EnumExpressDataType.erp_logistics.getCode()==info.getDataType())).collect(Collectors.toList());
58 if(CollectionUtils.isNotEmpty(ls)){ 58 if(CollectionUtils.isNotEmpty(ls)){
59 - logger.info("BuyerOrderCancelShamDeliveryMsgConsumer topic {}, msg {} ,not cancel order because exist express info ", getMessageTopic(), o); 59 + logger.info("BuyerOrderCancelShamDeliveryMsgConsumer return because exists express info, so order cancel fail topic {}, msg {} ", getMessageTopic(), o);
60 return ; 60 return ;
61 } 61 }
  62 + logger.info("BuyerOrderCancelShamDeliveryMsgConsumer begin ExpressInfoList {} topic {}, msg {}",ls, getMessageTopic(), event);
62 buyerOrderCancelService.cancelForSellerShamSendOut(buyerUid,orderCode, OrderStatus.SELLER_SHAM_SEND_OUT_AUTO); 63 buyerOrderCancelService.cancelForSellerShamSendOut(buyerUid,orderCode, OrderStatus.SELLER_SHAM_SEND_OUT_AUTO);
63 - logger.info("BuyerOrderCancelShamDeliveryMsgConsumer topic {}, msg {} finish", getMessageTopic(), event); 64 + logger.info("BuyerOrderCancelShamDeliveryMsgConsumer finish topic {}, msg {} ", getMessageTopic(), event);
64 65
65 //TODO 记录操作日志 66 //TODO 记录操作日志
66 orderOperateRecordService.addRecord(orderCode,"系统取消", OperateTypeEnum.OPERATE_TYPE_QUALITY_SHAM_CANCEL_OUT_TIME); 67 orderOperateRecordService.addRecord(orderCode,"系统取消", OperateTypeEnum.OPERATE_TYPE_QUALITY_SHAM_CANCEL_OUT_TIME);