|
@ -1847,12 +1847,12 @@ public class LoanRepaymentScheduleService extends MybatisBaseService<LoanRepayme |
|
|
public ResultBean<String> createRepaymentVoucher(String[] sids) { |
|
|
public ResultBean<String> createRepaymentVoucher(String[] sids) { |
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
ResultBean rb = ResultBean.fireFail(); |
|
|
List<LoanVoucherPdf> pdfs = new ArrayList<>(); |
|
|
List<LoanVoucherPdf> pdfs = new ArrayList<>(); |
|
|
List<File> fileList1 = new ArrayList<>(); |
|
|
|
|
|
String filePath = "/template/"; |
|
|
String filePath = "/template/"; |
|
|
List<File> fileList2 = new ArrayList<>(); |
|
|
List<File> fileList2 = new ArrayList<>(); |
|
|
String finalPath = ""; |
|
|
String finalPath = ""; |
|
|
List<File> delFile = new ArrayList<>(); |
|
|
List<File> delFile = new ArrayList<>(); |
|
|
for (String sid : sids) { |
|
|
for (String sid : sids) { |
|
|
|
|
|
List<File> fileList1 = new ArrayList<>(); |
|
|
LoanRepaymentSchedule repaymentSchedule = baseMapper.selectByContractSid(sid); |
|
|
LoanRepaymentSchedule repaymentSchedule = baseMapper.selectByContractSid(sid); |
|
|
if (null != repaymentSchedule) { |
|
|
if (null != repaymentSchedule) { |
|
|
List<LoanVoucherPdf> pdfList = returnVoucherPdf(repaymentSchedule); |
|
|
List<LoanVoucherPdf> pdfList = returnVoucherPdf(repaymentSchedule); |
|
|