Bladeren bron

fix(退款):配合分账

Wangyafan 6 maanden geleden
bovenliggende
commit
20ccd23815

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

@@ -144,7 +144,7 @@ public class RefundManagementApprovalServiceImpl extends ServiceImpl<RefundManag
                                 .list();
                         if (CollectionUtil.isNotEmpty(fundGoodsAssignList)) {
                             List<LedgerAccountBasicInfo> ledgerAccountBasicInfos = fundGoodsAssignList.stream().map(fundGoodsAssign -> {
-                                return ledgerAccountBasicInfoService.getById(fundGoodsAssign.getLedgerAccountBasicInfoId());
+                                return ledgerAccountBasicInfoService.getDetail(fundGoodsAssign.getLedgerAccountBasicInfoId());
                             }).sorted(Comparator.comparing(LedgerAccountBasicInfo::getGmtCreate).reversed()).collect(Collectors.toList());
                             List<RefundsApplyAccountInfo> accountInfoList = new ArrayList<>();
                             if (CollectionUtil.isNotEmpty(ledgerAccountBasicInfos)) {