|
|
@ -6982,23 +6982,15 @@ public class LoanRepaymentScheduleService extends MybatisBaseService<LoanRepayme |
|
|
|
appRepaymentPlanListDetailsWxVo.setLenderName(loanRepaymentSchedule.getBorrowerName()); |
|
|
|
appRepaymentPlanListDetailsWxVo.setSalesName(loanRepaymentSchedule.getStaffName()); |
|
|
|
appRepaymentPlanListDetailsWxVo.setManagement(loanRepaymentSchedule.getBankName()); |
|
|
|
appRepaymentPlanListDetailsWxVo.setZcpDate(loanRepaymentSchedule.getMainPeriod() + "/" + loanRepaymentSchedule.getMainRepayDate() + "(首还)"); |
|
|
|
appRepaymentPlanListDetailsWxVo.setZcpDate(loanRepaymentSchedule.getMainPeriod() + "/" + DateUtil.formatDate(loanRepaymentSchedule.getMainRepayDate()) + "(首还)"); |
|
|
|
if ("1".equals(loanRepaymentSchedule.getIsOtherPolicy())){//有其他融
|
|
|
|
appRepaymentPlanListDetailsWxVo.setPtrDate(loanRepaymentSchedule.getOtherPeriod() + "/" + loanRepaymentSchedule.getOtherRepayDate() + "(首还)"); |
|
|
|
appRepaymentPlanListDetailsWxVo.setPtrDate(loanRepaymentSchedule.getOtherPeriod() + "/" + DateUtil.formatDate(loanRepaymentSchedule.getOtherRepayDate()) + "(首还)"); |
|
|
|
if ("1".equals(loanRepaymentSchedule.getSameBank())){//其他融资方与主产品相同
|
|
|
|
appRepaymentPlanListDetailsWxVo.setOtherManagement(appRepaymentPlanListDetailsWxVo.getManagement()); |
|
|
|
}else {//其他融资方与主产品不相同
|
|
|
|
List<LoanRepaymentPlanDetails> loanRepaymentPlanDetails = loanRepaymentPlanDetailsService.selByMainSidAndPolicyOrOther(scheduleSid, "1"); |
|
|
|
appRepaymentPlanListDetailsWxVo.setOtherManagement(loanRepaymentPlanDetails.get(0).getBankName()); |
|
|
|
} |
|
|
|
AppRepaymentPlanThead appRepaymentPlanThead4 = new AppRepaymentPlanThead(); |
|
|
|
appRepaymentPlanThead4.setName("otherMonthlyPaymentStr"); |
|
|
|
String[] qtrDate = loanRepaymentSchedule.getOtherRepayDate().toString().split("-"); |
|
|
|
appRepaymentPlanThead4.setLabel("其他融(" + qtrDate[qtrDate.length - 1] + "日)"); |
|
|
|
appRepaymentPlanThead4.setWidth("100"); |
|
|
|
appRepaymentPlanThead4.setEmptyString("-"); |
|
|
|
appRepaymentPlanThead4.setAlign("center"); |
|
|
|
appRepaymentPlanTheads.add(appRepaymentPlanThead4); |
|
|
|
} |
|
|
|
appRepaymentPlanListDetailsWxVo.setVinNo(vinNo); |
|
|
|
AppRepaymentPlanThead appRepaymentPlanThead1 = new AppRepaymentPlanThead(); |
|
|
@ -7018,15 +7010,25 @@ public class LoanRepaymentScheduleService extends MybatisBaseService<LoanRepayme |
|
|
|
appRepaymentPlanTheads.add(appRepaymentPlanThead2); |
|
|
|
AppRepaymentPlanThead appRepaymentPlanThead3 = new AppRepaymentPlanThead(); |
|
|
|
appRepaymentPlanThead3.setName("monthlyPaymentStr"); |
|
|
|
String[] zcpDate = loanRepaymentSchedule.getMainRepayDate().toString().split("-"); |
|
|
|
String[] zcpDate = DateUtil.formatDate(loanRepaymentSchedule.getMainRepayDate()).split("-"); |
|
|
|
appRepaymentPlanThead3.setLabel("月还(" + zcpDate[zcpDate.length - 1] + "日)"); |
|
|
|
appRepaymentPlanThead3.setWidth("100"); |
|
|
|
appRepaymentPlanThead3.setEmptyString("-"); |
|
|
|
appRepaymentPlanThead3.setAlign("center"); |
|
|
|
appRepaymentPlanTheads.add(appRepaymentPlanThead3); |
|
|
|
if ("1".equals(loanRepaymentSchedule.getIsOtherPolicy())){ |
|
|
|
AppRepaymentPlanThead appRepaymentPlanThead4 = new AppRepaymentPlanThead(); |
|
|
|
appRepaymentPlanThead4.setName("otherMonthlyPaymentStr"); |
|
|
|
String[] qtrDate = DateUtil.formatDate(loanRepaymentSchedule.getOtherRepayDate()).split("-"); |
|
|
|
appRepaymentPlanThead4.setLabel("其他融(" + qtrDate[qtrDate.length - 1] + "日)"); |
|
|
|
appRepaymentPlanThead4.setWidth("100"); |
|
|
|
appRepaymentPlanThead4.setEmptyString("-"); |
|
|
|
appRepaymentPlanThead4.setAlign("center"); |
|
|
|
appRepaymentPlanTheads.add(appRepaymentPlanThead4); |
|
|
|
} |
|
|
|
appRepaymentPlanListDetailsWxVo.setThead(appRepaymentPlanTheads); |
|
|
|
List<AppRepaymentPlanRecord> appRepaymentPlanRecords = loanRepaymentPlanDetailsService.selByMainSidAndVinNo(scheduleSid, vinNo); |
|
|
|
appRepaymentPlanListDetailsWxVo.setRecord(appRepaymentPlanRecords); |
|
|
|
appRepaymentPlanListDetailsWxVo.setRecords(appRepaymentPlanRecords); |
|
|
|
return appRepaymentPlanListDetailsWxVo; |
|
|
|
} |
|
|
|
|
|
|
@ -7038,7 +7040,7 @@ public class LoanRepaymentScheduleService extends MybatisBaseService<LoanRepayme |
|
|
|
appRepaymentHistoryThead1.setName("period"); |
|
|
|
appRepaymentHistoryThead1.setLabel("期数"); |
|
|
|
appRepaymentHistoryThead1.setFixed(true); |
|
|
|
appRepaymentHistoryThead1.setWidth("100"); |
|
|
|
appRepaymentHistoryThead1.setWidth("80"); |
|
|
|
appRepaymentHistoryThead1.setEmptyString("-"); |
|
|
|
appRepaymentHistoryThead1.setAlign("center"); |
|
|
|
appRepaymentHistoryTheads.add(appRepaymentHistoryThead1); |
|
|
@ -7052,7 +7054,7 @@ public class LoanRepaymentScheduleService extends MybatisBaseService<LoanRepayme |
|
|
|
AppRepaymentHistoryThead appRepaymentHistoryThead3 = new AppRepaymentHistoryThead(); |
|
|
|
appRepaymentHistoryThead3.setName("actualDate"); |
|
|
|
appRepaymentHistoryThead3.setLabel("实还日期"); |
|
|
|
appRepaymentHistoryThead3.setWidth("80"); |
|
|
|
appRepaymentHistoryThead3.setWidth("120"); |
|
|
|
appRepaymentHistoryThead3.setEmptyString("-"); |
|
|
|
appRepaymentHistoryThead3.setAlign("center"); |
|
|
|
appRepaymentHistoryTheads.add(appRepaymentHistoryThead3); |
|
|
@ -7072,7 +7074,7 @@ public class LoanRepaymentScheduleService extends MybatisBaseService<LoanRepayme |
|
|
|
appRepaymentHistoryTheads.add(appRepaymentHistoryThead5); |
|
|
|
appRepaymentHistoryListDetailsWxVo.setThead(appRepaymentHistoryTheads); |
|
|
|
List<AppRepaymentHistoryRecord> appRepaymentHistoryRecords = loanRepaymentHistoryService.selSchSidAndVinNo(scheduleSid,vinNo); |
|
|
|
appRepaymentHistoryListDetailsWxVo.setRecord(appRepaymentHistoryRecords); |
|
|
|
appRepaymentHistoryListDetailsWxVo.setRecords(appRepaymentHistoryRecords); |
|
|
|
return appRepaymentHistoryListDetailsWxVo; |
|
|
|
} |
|
|
|
} |
|
|
|