Commit 090b511c96ee7baf0173751e1b045a3e84d6bca4
1 parent
6db05b09
Exists in
master
.
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
build.gradle
src/main/java/com/taover/util/UtilExcel.java
... | ... | @@ -451,7 +451,7 @@ public class UtilExcel { |
451 | 451 | */ |
452 | 452 | System.out.println(cell.getCellStyle().getDataFormat()); |
453 | 453 | short format = cell.getCellStyle().getDataFormat(); |
454 | - if (DateUtil.isCellDateFormatted(cell)) { | |
454 | + if (DateUtil.isCellDateFormatted(cell)) { | |
455 | 455 | SimpleDateFormat sdf = null; |
456 | 456 | if(format == 14 || format == 31 || format == 57 || format == 58 ){ |
457 | 457 | //日期 |
... | ... | @@ -512,7 +512,7 @@ public class UtilExcel { |
512 | 512 | System.out.println(df.format(3.3300)); |
513 | 513 | |
514 | 514 | |
515 | - String filepath = "C:\\Users\\EDZ\\Desktop\\date - 副本.xlsx"; | |
515 | + String filepath = "C:\\Users\\EDZ\\Desktop\\詹姆士0623(3)(1).xlsx"; | |
516 | 516 | List<List<Object>> data = null; |
517 | 517 | |
518 | 518 | try { | ... | ... |