喝水不忘挖井人,感谢阿里巴巴项目组提供了easyexcel工具类,github地址:https://github.com/alibaba/easyexcel
原文链接:https://blog.csdn.net/qq_32258777/article/details/89031479
文章目录
环境搭建
- easyexcel 依赖(必须)
- springboot (不是必须)
- lombok (不是必须)
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>1.1.2-beat1</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.2</version>
</dependency>