Explorar el Código

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

修复退款异常
Yangzw hace 9 meses
padre
commit
6274c17621

+ 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);