Kaynağa Gözat

首次提交

Yangzw 2 ay önce
ebeveyn
işleme
f08889624b

+ 1 - 1
feifan-module-mall/feifan-module-trade-biz/src/main/java/cn/newfeifan/mall/module/trade/service/aftersale/AfterSaleServiceImpl.java

@@ -151,7 +151,7 @@ public class AfterSaleServiceImpl implements AfterSaleService {
             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);
         }