Commit 57b24106 by ping.wu

门店发起部分退款,退款成功回调,部分退款不进行冲正

parent b473ebf9
......@@ -587,7 +587,10 @@ public class SaasOrderMangerServiceImpl implements OrderManagerService {
if (!NewOrderStatus.PLACE_AN_ORDER.getIndex().equals(orderBean.getStatusV2())) {
orderBaseService.sendMessage(orderBean, ORDER_AGREE_REFUND, reason);
}
//todo 可以考虑基于订单回调异步实现
//部分退款不进行冲正
if (Objects.nonNull(afterSalesOrderResp) && afterSalesOrderResp.getIsPartRefund()) {
return ResponseUtil.success();
}
//冲正库存
stockHandle.revert(omRequest, orderBean);
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