mirror of
https://github.com/jeequan/jeepay
synced 2024-11-17 23:08:03 +08:00
解决退款直接成功时没有返回 successTime问题;
This commit is contained in:
parent
2889127fe9
commit
5bbfe9c197
@ -224,13 +224,13 @@ public class RefundOrderController extends ApiController {
|
||||
if(ChannelRetMsg.ChannelState.CONFIRM_SUCCESS == channelRetMsg.getChannelState()) {
|
||||
|
||||
this.updateInitOrderStateThrowException(RefundOrder.STATE_SUCCESS, refundOrder, channelRetMsg);
|
||||
payMchNotifyService.refundOrderNotify(refundOrder);
|
||||
payMchNotifyService.refundOrderNotify(refundOrderService.getById(refundOrder.getRefundOrderId()));
|
||||
|
||||
//明确失败
|
||||
}else if(ChannelRetMsg.ChannelState.CONFIRM_FAIL == channelRetMsg.getChannelState()) {
|
||||
|
||||
this.updateInitOrderStateThrowException(RefundOrder.STATE_FAIL, refundOrder, channelRetMsg);
|
||||
payMchNotifyService.refundOrderNotify(refundOrder);
|
||||
payMchNotifyService.refundOrderNotify(refundOrderService.getById(refundOrder.getRefundOrderId()));
|
||||
|
||||
// 上游处理中 || 未知 || 上游接口返回异常 退款单为退款中状态
|
||||
}else if( ChannelRetMsg.ChannelState.WAITING == channelRetMsg.getChannelState() ||
|
||||
|
Loading…
Reference in New Issue
Block a user