Ver Fonte

退款状态轮训

刘俊驰 há 2 semanas atrás
pai
commit
499499a534

+ 2 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/UserPaymentCoreServiceImpl.java

@@ -1940,10 +1940,12 @@ DISCOUNT("畅学卡")
                 if (PaymentStatus.FAILED == refundResp.getPaymentStatus()) {
                     userOrderRefundBill.setStatus(TradeStatusEnum.failed);
                     userOrderRefundBill.setPayFailMsg(refundResp.getMsg());
+                    userOrderRefundBill.setTransNo(refundResp.getTransNo());
                 } else  if (PaymentStatus.SUCCESSED == refundResp.getPaymentStatus()) {
                     // 更新退款订单状态
                     userOrderRefundBill.setStatus(TradeStatusEnum.succeeded);
                     userOrderRefundBill.setPayFailMsg("");
+                    userOrderRefundBill.setTransNo(refundResp.getTransNo());
                 }
             } catch (Exception e) {
                 userOrderRefundBill.setStatus(TradeStatusEnum.failed);