|
@@ -194,7 +194,7 @@ public class ExtractConfigFileServiceImpl implements ExtractConfigFileService {
|
|
FileDisposeUtil.createDirectory(downloadDir);
|
|
FileDisposeUtil.createDirectory(downloadDir);
|
|
//创建压缩文件的文件夹
|
|
//创建压缩文件的文件夹
|
|
FileDisposeUtil.createDirectory(downZipDir);
|
|
FileDisposeUtil.createDirectory(downZipDir);
|
|
- /*ExportStructure exportStructure = exportStructureService.findStructureByExamId(exportModel.getExamId()+"");
|
|
|
|
|
|
+ ExportStructure exportStructure = exportStructureService.findStructureByExamId(exportModel.getExamId()+"");
|
|
if(exportStructure==null){
|
|
if(exportStructure==null){
|
|
exportStructure = new ExportStructure();
|
|
exportStructure = new ExportStructure();
|
|
exportStructure.setExportType(ExportType.NORMAL);
|
|
exportStructure.setExportType(ExportType.NORMAL);
|
|
@@ -207,7 +207,7 @@ public class ExtractConfigFileServiceImpl implements ExtractConfigFileService {
|
|
makePaperStructure(downloadDir,exportStructure.getExamName(),paperIds,exportStructure);
|
|
makePaperStructure(downloadDir,exportStructure.getExamName(),paperIds,exportStructure);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- }*/
|
|
|
|
|
|
+ }
|
|
//根据条件获取到文件下载路径,下载文件到服务器的downloadDirectory文件夹
|
|
//根据条件获取到文件下载路径,下载文件到服务器的downloadDirectory文件夹
|
|
List<ExamFile> examFiles = examFileService.findExamFileListByExportPaperInfoModel(exportModel);
|
|
List<ExamFile> examFiles = examFileService.findExamFileListByExportPaperInfoModel(exportModel);
|
|
if(examFiles!=null&&examFiles.size()>0){
|
|
if(examFiles!=null&&examFiles.size()>0){
|