|
|
@ -592,11 +592,16 @@ public class BeCollectionService { |
|
|
|
MonRepayDetails monRepayDetails = loanRepaymentPlanDetailsFeign.details(saleVehSid).getData(); |
|
|
|
BeanUtil.copyProperties(monRepayDetails,appMonRepayDetails); |
|
|
|
List<MonRepayPeriodDetails> monRepayPeriodDetailsList = monRepayDetails.getMonRepayPeriodDetailsList(); |
|
|
|
List<AppMonRepayPeriodDetails> appMonRepayPeriodDetailsList = new ArrayList<>(); |
|
|
|
List<String> appMonRepayPeriodDetailsList = new ArrayList<>(); |
|
|
|
appMonRepayPeriodDetailsList.add("期数"); |
|
|
|
appMonRepayPeriodDetailsList.add("应还金额"); |
|
|
|
appMonRepayPeriodDetailsList.add("实还金额"); |
|
|
|
appMonRepayPeriodDetailsList.add("未还金额"); |
|
|
|
for (MonRepayPeriodDetails monRepayPeriodDetails : monRepayPeriodDetailsList) { |
|
|
|
AppMonRepayPeriodDetails appMonRepayPeriodDetails = new AppMonRepayPeriodDetails(); |
|
|
|
BeanUtil.copyProperties(monRepayPeriodDetails,appMonRepayPeriodDetails); |
|
|
|
appMonRepayPeriodDetailsList.add(appMonRepayPeriodDetails); |
|
|
|
appMonRepayPeriodDetailsList.add(monRepayPeriodDetails.getPeriod()); |
|
|
|
appMonRepayPeriodDetailsList.add(monRepayPeriodDetails.getDueMoney().toString()); |
|
|
|
appMonRepayPeriodDetailsList.add(monRepayPeriodDetails.getReceiptMoney().toString()); |
|
|
|
appMonRepayPeriodDetailsList.add(monRepayPeriodDetails.getNotRepaidMoney().toString()); |
|
|
|
} |
|
|
|
appMonRepayDetails.setAppMonRepayPeriodDetailsList(appMonRepayPeriodDetailsList); |
|
|
|
return rb.success().setData(appMonRepayDetails); |
|
|
|