处理退款是扣库存

This commit is contained in:
朱耘稷
2020-12-17 19:00:24 +08:00
committed by xuwenbo
parent ddd25bc1a1
commit 01a5610219
3 changed files with 14 additions and 0 deletions

View File

@ -201,6 +201,7 @@ public class WechatController {
storeOrder.setRefundStatus(OrderInfoEnum.REFUND_STATUS_2.getValue());
storeOrder.setRefundPrice(refundFee);
orderService.updateById(storeOrder);
orderService.retrunStock(orderId);
return WxPayNotifyResponse.success("处理成功!");
} catch (WxPayException | IllegalAccessException e) {
log.error(e.getMessage());