|
@@ -2639,7 +2639,8 @@ public class SimulationProjectServiceImpl implements SimulationProjectService {
|
|
|
File file = new File(param.getLocalPdfFilePath());
|
|
|
os = new BufferedOutputStream(Files.newOutputStream(file.toPath()));
|
|
|
} else {
|
|
|
- String fileName = vo.getProjectId() + "_" + vo.getProjectName();
|
|
|
+// String fileName = vo.getProjectId() + "_" + vo.getProjectName();
|
|
|
+ String fileName = vo.getAlgorithmName() + "评价报告";
|
|
|
response.setContentType("application/x-download");
|
|
|
response.addHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode(fileName, "UTF-8") + ".pdf");
|
|
|
os = new BufferedOutputStream(response.getOutputStream());
|