Kaynağa Gözat

Merge branch 'dev/2024/0626/update-business-local-Y' of Harper/feifan-backend-zx-business into master

修复退款异常
Yangzw 9 ay önce
ebeveyn
işleme
97d8dd4e08

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

@@ -419,7 +419,7 @@ public class AfterSaleServiceImpl implements AfterSaleService {
             toid.setRefundIntegral(payIntegral);
             tradeOrderItemMapper.updateById(toid);
 
-            if(tradeOrderDO.getRefundPrice() != null){
+            if(tradeOrderDO.getRefundIntegral() != null){
                 tradeOrderDO.setRefundIntegral(tradeOrderDO.getRefundIntegral()+payIntegral);
             }else{
                 tradeOrderDO.setRefundIntegral(payIntegral);