优化文件导出的目录的路径
This commit is contained in:
parent
a458276db7
commit
a0c356955a
@ -46,7 +46,7 @@ public class ExcelUtils {
|
||||
public static File exportObjectsWithoutTitle(String fileName, String tip,
|
||||
String[] names, String title, List<String[]> objects)
|
||||
throws Exception {
|
||||
File excelFile = new File(fileName);
|
||||
File excelFile = new File("/opt/"+ fileName);
|
||||
WritableWorkbook wtwb = Workbook.createWorkbook(excelFile);
|
||||
WritableSheet sheet = wtwb.createSheet(title, 0);
|
||||
sheet.getSettings().setDefaultColumnWidth(12);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user