Authored by chenchao

split fail reason

... ... @@ -96,12 +96,16 @@ public class SellerOrderCancelDeliverDelayMsgConsumer implements YhConsumer {
try{
payRefundService.refund(req, bleb);
//
SellerOrderGoods sog = event.getSellerOrderGoods();
if (sog == null){
sog = sellerOrderGoodsMapper.selectByPrimaryKey(event.getSkup());
final int times = 3;
try {
SellerOrderGoods sog = event.getSellerOrderGoods();
if (sog == null) {
sog = sellerOrderGoodsMapper.selectByPrimaryKey(event.getSkup());
}
inBoxFacade.sellerDeliverNotice(sog, orderCode, times);
}catch (Exception ex){
logger.warn("in topic {} , sellerDeliverNotice fail,times {} req {}", getMessageTopic(), times, req, ex);
}
inBoxFacade.sellerDeliverNotice(sog, orderCode,3);
}catch (Exception ex){
logger.warn("in topic {} , refund fail,req {}", getMessageTopic(), req, ex);
BillLogEvent buyererBillLogEvent = bleb.tradeStatus(BillTradeStatus.FAIL.getCode())
... ...