|
@@ -151,7 +151,7 @@ public class AfterSaleServiceImpl implements AfterSaleService {
|
|
throw exception(AFTER_SALE_CREATE_FAIL_ORDER_ITEM_APPLIED);
|
|
throw exception(AFTER_SALE_CREATE_FAIL_ORDER_ITEM_APPLIED);
|
|
}
|
|
}
|
|
// 申请的退款金额,不能超过商品的价格
|
|
// 申请的退款金额,不能超过商品的价格
|
|
- if (createReqVO.getRefundPrice() > orderItem.getPayPrice()) {
|
|
|
|
|
|
+ if (createReqVO.getRefundPrice() > orderItem.getPayIntegral()) {
|
|
throw exception(AFTER_SALE_CREATE_FAIL_REFUND_PRICE_ERROR);
|
|
throw exception(AFTER_SALE_CREATE_FAIL_REFUND_PRICE_ERROR);
|
|
}
|
|
}
|
|
|
|
|