Commit c750c855 by 周晓航

提交对接基础服务api, 退款失败记录补偿日志

Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent 5f8adc4a
......@@ -3401,10 +3401,7 @@ public class OrderServiceImpl implements Orderservice {
.operator("")
.ver(0).build();
orderServiceClient.refundFailures(requestDTO);
// 不中断申请退款操作
// return ResponseUtil.error(ResponseResult.ORDER__ERRORREFUND.getCode(), failMsg);
}
//获取支付返回退款状态
state = response.getData().getRefundStatus() == null ? PayRefundStatus.SUCCESS.getCode() : response.getData().getRefundStatus();
}
......@@ -3431,7 +3428,6 @@ public class OrderServiceImpl implements Orderservice {
if (baseOrderResponse == null || !ObjectUtils.equals(ResponseConstant.SUCCESS_RESPONSE_CODE, baseOrderResponse.getErrcode())) {
throw new ServiceException(ResponseResult.ORDER__ERRORREFUND);
}
// 删除订单 通知活动添加商品库存 status 需要老订单的 ordercode
// orderQueueService.backOrdersStatusChange(orderBean.getOrderCode(), OrderStatusV1.getOldCode(orderBean.getOrderState()), orderBean.getPayState());
return ResponseUtil.success();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment