Browse Source

* 兼容某些特殊的xls: 修改了内置的样式导致判断样式错误

* 重新加回 `commons-io`
pull/3919/head
Jiaju Zhuang 4 months ago
parent
commit
c9d43270da
  1. 2
      easyexcel-test/src/test/java/com/alibaba/easyexcel/test/temp/Lock2Test.java
  2. 5
      pom.xml
  3. 1
      update.md

2
easyexcel-test/src/test/java/com/alibaba/easyexcel/test/temp/Lock2Test.java

@ -52,7 +52,7 @@ public class Lock2Test {
File file = new File("/Users/zhuangjiaju/IdeaProjects/easyexcel/src/test/resources/converter/converter07.xlsx"); File file = new File("/Users/zhuangjiaju/IdeaProjects/easyexcel/src/test/resources/converter/converter07.xlsx");
List<Object> list = EasyExcel.read( List<Object> list = EasyExcel.read(
"/Users/zhuangjiaju/Downloads/证券投资基金估值表_外贸信托-稳盈淳享37号集合资金信托计划_2024-07-23.xls") "/Users/zhuangjiaju/Downloads/证券投资基金估值表_外贸信托-稳盈淳享37号集合资金信托计划_2024-07-23(1).xls")
//.useDefaultListener(false) //.useDefaultListener(false)
.sheet(0) .sheet(0)
.headRowNumber(0).doReadSync(); .headRowNumber(0).doReadSync();

5
pom.xml

@ -113,6 +113,11 @@
<artifactId>ehcache</artifactId> <artifactId>ehcache</artifactId>
<version>3.9.11</version> <version>3.9.11</version>
</dependency> </dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.15.0</version>
</dependency>
<dependency> <dependency>
<groupId>org.slf4j</groupId> <groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId> <artifactId>slf4j-api</artifactId>

1
update.md

@ -1,6 +1,7 @@
# 4.0.2 # 4.0.2
* 兼容某些特殊的xls: 修改了内置的样式导致判断样式错误 * 兼容某些特殊的xls: 修改了内置的样式导致判断样式错误
* 重新加回 `commons-io`
# 4.0.1 # 4.0.1

Loading…
Cancel
Save