feat:退优惠券
This commit is contained in:
1 parent
0c6d59a062
commit
93326936c3
1 file changed
+3
-1
+3
-1
@@ -644,7 +644,9 @@ public class HardAfterSaleServiceImpl extends ServiceImpl<HardAfterSaleMapper, H
|
||||
// 执行退款
|
||||
getSelf().refund(saveObj.getId());
|
||||
// 退优惠券
|
||||
actCouponCancelService.remoteReturn(Long.valueOf(order.getCouponRecordId()));
|
||||
if (ObjectUtil.isAllNotEmpty(order.getCouponPrice(), order.getCouponRecordId())) {
|
||||
actCouponCancelService.remoteReturn(Long.valueOf(order.getCouponRecordId()));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user