Skip to content

Commit

Permalink
⬆️ Upgrading dependencies. easyexcel 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
lbw committed Sep 3, 2022
1 parent 9b90465 commit cf20a23
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,17 @@ public class DemoData {
}
```

- 导入获取excel 行号,实体属性增加 @ExcelLine 注解即可

```java
/**
* 导入时候回显行号
*/
@ExcelLine
@ExcelIgnore
private Long lineNum;
```

**使用 Postman 测试导入**

![](https://hccake-img.oss-cn-shanghai.aliyuncs.com/ballcat/doc/excel-i18n-import.png)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</scm>
<properties>
<java.version>1.8</java.version>
<easyexcel.version>3.1.0</easyexcel.version>
<easyexcel.version>3.1.1</easyexcel.version>
<mica.version>2.3.1</mica.version>
<spring.checkstyle.plugin>0.0.32</spring.checkstyle.plugin>
<git.commit.plugin>2.2.5</git.commit.plugin>
Expand Down

0 comments on commit cf20a23

Please sign in to comment.