root 2 éve
szülő
commit
5430121e5a

+ 2 - 1
simulation-resource-server/src/main/java/com/css/simulation/resource/project/impl/SimulationProjectServiceImpl.java

@@ -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());