|
|
@@ -332,7 +332,7 @@ public class CmsOrderDonServiceImpl extends ServiceImpl<OrderDonMapper,OrderDon>
|
|
|
String outNo = orderRefundService.centerRefund(refundReq, orderDon);
|
|
|
orderDon.setRefundDesc(refundReq.getRefundDesc());
|
|
|
//记录退款信息
|
|
|
- commonRefund(orderDon, refundReq.getRefundMoney(), goodsDon, sku, outNo, refundType);
|
|
|
+ commonRefund(orderDon, refundReq.getRefundMoney(), refundReq.getOperator(), goodsDon, sku, outNo, refundType);
|
|
|
//修改订单状态
|
|
|
orderDon.setStatus(OrderDon.Status.refund);
|
|
|
orderDonMapper.updateById(orderDon);
|
|
|
@@ -695,9 +695,9 @@ public class CmsOrderDonServiceImpl extends ServiceImpl<OrderDonMapper,OrderDon>
|
|
|
/**
|
|
|
* 退款后 处理关联
|
|
|
*/
|
|
|
- public void commonRefund(OrderDon orderDon, BigDecimal refundMoney, GoodsDon goodsDon, GoodsDonSku sku, String outNo, String refundType) {
|
|
|
+ public void commonRefund(OrderDon orderDon, BigDecimal refundMoney,String operator, GoodsDon goodsDon, GoodsDonSku sku, String outNo, String refundType) {
|
|
|
TASK_POOL.execute(() -> {
|
|
|
- orderRefundService.refundRecord(orderDon, refundMoney, goodsDon, sku, outNo, refundType);
|
|
|
+ orderRefundService.refundRecord(orderDon, refundMoney, operator, goodsDon, sku, outNo, refundType);
|
|
|
//退款一次
|
|
|
goodsDonStockService.upStockRelate(null, orderDon.getId(), "refund");
|
|
|
try {
|
|
|
@@ -956,7 +956,7 @@ public class CmsOrderDonServiceImpl extends ServiceImpl<OrderDonMapper,OrderDon>
|
|
|
orderDonMapper.updateById(orderDon);
|
|
|
}
|
|
|
|
|
|
- orderRefundService.refundRecord(orderDon, refundMoney, goodsDon, sku, outNo, refundType);
|
|
|
+ orderRefundService.refundRecord(orderDon, refundMoney, orderRefundReq.getOperator(), goodsDon, sku, outNo, refundType);
|
|
|
}
|
|
|
|
|
|
@Override
|