Commit c91c2994 by 阳浪

文件上传地址优化

parent 3bbf5649
......@@ -527,7 +527,7 @@ public class DownloadResearchAnalyze extends AbstractDefaultTask<String, Downloa
//导出
StringBuffer fileNameSb = new StringBuffer().append(researchName + "分析统计_" + sdf.format(submitTime)).append(".xlsx");
StringBuffer fileNameSb = new StringBuffer().append(vo.getTaskName()).append(".xlsx");
String fileName = fileNameSb.toString();
String path = new StringBuffer().append(requestPath).append(fileNameSb).toString();
FileOutputStream os = null;
......
......@@ -476,7 +476,7 @@ public class DownloadResearchAnalyze1 extends AbstractDefaultTask<String, Downlo
//导出
StringBuffer fileNameSb = new StringBuffer().append(researchName + "分析统计_" + sdf.format(submitTime)).append(".xlsx");
StringBuffer fileNameSb = new StringBuffer().append(vo.getTaskName()).append(".xlsx");
String fileName = fileNameSb.toString();
String path = new StringBuffer().append(requestPath).append(fileNameSb).toString();
FileOutputStream os = null;
......
......@@ -470,7 +470,7 @@ public class DownloadResearchDetails extends AbstractDefaultTask<String, Downloa
}
//导出
StringBuffer fileNameSb = new StringBuffer().append(researchName + "结果明细表-" + dateFormat.format(submitTime)).append(".xlsx");
StringBuffer fileNameSb = new StringBuffer().append(vo.getTaskName()).append(".xlsx");
String fileName = fileNameSb.toString();
String path = new StringBuffer().append(requestPath).append(fileNameSb).toString();
FileOutputStream os = null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment