技术文档/后端/easypoi的简单使用.md created from https://stackedit.cn/
This commit is contained in:
parent
66c94da5ff
commit
8a78573b16
34
技术文档/后端/easypoi的简单使用.md
Normal file
34
技术文档/后端/easypoi的简单使用.md
Normal file
@ -0,0 +1,34 @@
|
||||
## 一、基本介绍
|
||||
|
||||
一个让你简单使用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中的一列。
|
||||
<!--stackedit_data:
|
||||
eyJoaXN0b3J5IjpbMzg3MzgxMjgyXX0=
|
||||
-->
|
Loading…
x
Reference in New Issue
Block a user