|
|
@ -3853,7 +3853,7 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl |
|
|
|
} |
|
|
|
List<GeneralVoucher.GeneralVoucherDetail> generalVoucherDetails = new ArrayList<>(); |
|
|
|
//--------------推送资金占用费计提记录表--------------------
|
|
|
|
List<LoanPushFundHistory> fundHistoryList = new ArrayList<>(); |
|
|
|
// List<LoanPushFundHistory> fundHistoryList = new ArrayList<>();
|
|
|
|
//-------资金占用费出纳确认收入---------
|
|
|
|
CollectionVoucher collectionAfterVoucher = new CollectionVoucher(); |
|
|
|
//收款方式key
|
|
|
@ -4076,7 +4076,8 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl |
|
|
|
e.printStackTrace(); |
|
|
|
} |
|
|
|
} |
|
|
|
fundHistoryList.add(loanPushFundHistory); |
|
|
|
loanPushFundHistoryFeign.saveHistoryByEntity(loanPushFundHistory); |
|
|
|
// fundHistoryList.add(loanPushFundHistory);
|
|
|
|
} |
|
|
|
//推送资金占用费出纳确认后
|
|
|
|
CollectionVoucher.CollectionVoucherDetail d = getFundVoucher(v, collectionDate, planDetails); |
|
|
@ -4122,9 +4123,9 @@ public class FinCollectionConfirmationService extends MybatisBaseService<FinColl |
|
|
|
generalVoucher.setVoucherDetails(generalVoucherDetails); |
|
|
|
finKingDeeFeignRest.saveFundVoucher(generalVoucher); |
|
|
|
} |
|
|
|
if (!fundHistoryList.isEmpty()) { |
|
|
|
loanPushFundHistoryFeign.saveHistory(fundHistoryList); |
|
|
|
} |
|
|
|
// if (!fundHistoryList.isEmpty()) {
|
|
|
|
// loanPushFundHistoryFeign.saveHistory(fundHistoryList);
|
|
|
|
// }
|
|
|
|
if (!voucherDetails.isEmpty()) { |
|
|
|
collectionVoucher.setVoucherDetails(voucherDetails); |
|
|
|
finKingDeeFeignRest.saveCollectionVoucher(collectionVoucher); |
|
|
|