|
|
@@ -289,6 +289,10 @@ public class CmsOrderDonServiceImpl extends ServiceImpl<OrderDonMapper,OrderDon>
|
|
|
&& orderDon.getRelationId() == 0) {
|
|
|
orderDon.setStatus(OrderDon.Status.refund);
|
|
|
orderDonMapper.updateById(orderDon);
|
|
|
+ if (goodsDon.getType() == 2) {
|
|
|
+ //扣除用户自身实物权益
|
|
|
+ userRealOrderBenefitsService.deductUserRealGoodsBenefits(orderDon.getId());
|
|
|
+ }
|
|
|
return;
|
|
|
}
|
|
|
OrderDon.Type type = orderDon.getType();
|