Skip to content

Commit

Permalink
Merge pull request #9 from iamsad5566/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
iamsad5566 authored Sep 16, 2022
2 parents 77d3ea7 + 29e73bb commit fdca5d3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main/java/module/ExcelManipulate.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void saveDataInExcel(List<String> list, String path) throws IOException {
StringBuilder sb = new StringBuilder();
String[] date_arr = new Date().toString().split(" ");
sb.append(date_arr[1]).append('_').append(date_arr[2]);
FileOutputStream fileOut = new FileOutputStream(path + sb + ".xls");
FileOutputStream fileOut = new FileOutputStream(path + "/" + sb + ".xls");
wb.write(fileOut);
fileOut.close();
}
Expand Down

0 comments on commit fdca5d3

Please sign in to comment.