Browse Source

fix(退款):抵扣bug修复

Wangyafan 6 months ago
parent
commit
1dbb6385eb

+ 1 - 1
src/main/java/com/sunxung/factoring/service/refundsManagement/impl/RefundManagementApprovalServiceImpl.java

@@ -395,7 +395,7 @@ public class RefundManagementApprovalServiceImpl extends ServiceImpl<RefundManag
 
         //收放款计划和退款管理关联关系 状态置为通过
         refundManagementPayCollPlanFactoringRefService.lambdaUpdate()
-                .eq(RefundManagementPayCollPlanFactoringRef::getRefundManagementId,nobusinessManage.getTradeRefundManagementId())
+                .eq(RefundManagementPayCollPlanFactoringRef::getRefundManagementId,applyDetail.getRefundManagementId())
                 .set(RefundManagementPayCollPlanFactoringRef::getStatus,1)
                 .update();
     }