单表数据导出多sheet实例
最后更新于:2022-04-02 07:23:40
现在要导出格式如下:
![](https://docs.gechiui.com/gc-content/uploads/sites/kancloud/45/bb/45bb65225982b10f9689c666382659e5_318x493.png)
实体如下:
~~~
public class TestEntity{
@Excel(name = "姓名", width = 15)
private String username;
@Excel(name = "年龄", width = 15)
private int age;
.....省略后续getset
~~~
---------
数据格式如下:
~~~
//多个map,对应了多个sheet
List
';