Commit 39585489 by 阳浪

活动导出

parent a712cd71
...@@ -175,7 +175,7 @@ public class ActivitiesExport extends AbstractDefaultTask<String, Map<String, Ob ...@@ -175,7 +175,7 @@ public class ActivitiesExport extends AbstractDefaultTask<String, Map<String, Ob
for (int i = 0; i < columenSize; i++) { for (int i = 0; i < columenSize; i++) {
sheet.setColumnWidth(i, maxWidth.get(i)); sheet.setColumnWidth(i, maxWidth.get(i));
} }
StringBuffer fileNameSb = new StringBuffer().append(trainingProject.getName() + "活动清单_" + dateFormat.format(submitTime)).append(".xls"); StringBuffer fileNameSb = new StringBuffer().append(taskName).append(".xls");
String fileName = fileNameSb.toString(); String fileName = fileNameSb.toString();
String path = new StringBuffer().append(requestPath).append(fileNameSb).toString(); String path = new StringBuffer().append(requestPath).append(fileNameSb).toString();
FileOutputStream os = null; 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