Commit 002ecdf8 by 阳浪

文件上传地址优化

parent c40ef045
......@@ -206,7 +206,7 @@ public class DownloadResearch extends AbstractDefaultTask<String, DownloadParams
}
//导出
StringBuffer fileNameSb = new StringBuffer().append(researchName + "参与人员统计_" + dateFormat.format(submitTime)).append(".xls");
StringBuffer fileNameSb = new StringBuffer().append(vo.getTaskName()).append(".xls");
String fileName = fileNameSb.toString();
String path = new StringBuffer().append(requestPath).append(fileNameSb).toString();
FileOutputStream os = null;
......
......@@ -507,7 +507,7 @@ public class DownloadResearchAnalyze extends AbstractDefaultTask<String, Downloa
//导出
StringBuffer fileNameSb = new StringBuffer().append(researchName + "分析统计_" + sdf.format(submitTime)).append(".xls");
StringBuffer fileNameSb = new StringBuffer().append(vo.getTaskName()).append(".xls");
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