Compare commits

..

No commits in common. "130e436c69ab1376584a2b06764536c31efbf5a8" and "c8372661654130a07d2326e0366442d8f92d431f" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

@ -350,6 +350,7 @@ public class ArchivesQueryExe {
byteArrayList.add(execteExamRecord(params));
System.out.println("5-------------------------------------------------------------");
}
log.info("execteGeneratePdfList,开始转换pdf{}", JSONUtil.toJsonStr(byteArrayList));
byte[] pdf = WordToPdfUtil.mergeWordToPdf(byteArrayList);
Files.write(Paths.get(tempDir+"/"+params.getClassName()+"-一人一档-"+DateUtil.getSdfTimes()+".pdf"), pdf);
@ -461,9 +462,6 @@ public class ArchivesQueryExe {
}
public byte[] execteExamRecord(PersonArchivesDTO params){
try {
if(params.getStudentExamRecord() == null){
return null;
}
Map<String, Object> workItem = BeanUtil.beanToMap(params.getStudentExamRecord());
ArrayList<Object> workList = CollUtil.newArrayList();
AtomicInteger atomicIndex = new AtomicInteger(1);

View File

@ -61,6 +61,7 @@ public class ArchivesServiceImpl implements ArchivesServiceI {
@Override
public void downloadPersonArchivesList(ArchivesQry qry) {
List<PersonArchivesDTO> personArchivesDTOList = archivesQueryExe.downloadPersonArchivesList(qry);
log.info("downloadPersonArchivesList,开始一人一档异步下载{}", JSONUtil.toJsonStr(personArchivesDTOList));
archivesQueryExe.execteGeneratePdfList(qry,personArchivesDTOList);
}