技术知识库/一、技术文档/后端/easypoi的简单使用.md created
This commit is contained in:
parent
8bf6b31b8f
commit
79c0b02dd6
36
技术知识库/一、技术文档/后端/easypoi的简单使用.md
Normal file
36
技术知识库/一、技术文档/后端/easypoi的简单使用.md
Normal file
@ -0,0 +1,36 @@
|
||||
## 一、基本介绍
|
||||
|
||||
一个让你简单使用poi的工具,通过删除线文本简单的注解和模板,可以完成Excel导出,Excel模板导出,Excel导入,Word模板导出。
|
||||
|
||||
## 二、导入依赖
|
||||
|
||||
```
|
||||
<dependency>
|
||||
<groupId>cn.afterturn</groupId>
|
||||
<artifactId>easypoi-base</artifactId>
|
||||
<version>4.3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.afterturn</groupId>
|
||||
<artifactId>easypoi-web</artifactId>
|
||||
<version>4.3.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.afterturn</groupId>
|
||||
<artifactId>easypoi-annotation</artifactId>
|
||||
<version>4.3.0</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
## 三、Excel导入导出
|
||||
|
||||
### 1、注解描述及其主要属性使用
|
||||
|
||||
#### 1.1、@Excel
|
||||
|
||||
主要使用该注解进行功能开发,用于类中的一个属性上,表示Excel中的一列。
|
||||
|
||||
#### 1.2、@ExcelCollection
|
||||
<!--stackedit_data:
|
||||
eyJoaXN0b3J5IjpbMTM4ODQ2MDI4N119
|
||||
-->
|
Loading…
x
Reference in New Issue
Block a user