How to realize JeecgBoot single table data export and multi-sheet
This article introduces the relevant knowledge of "how to export JeecgBoot single-table data to multiple sheet". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Now the format to be exported is as follows:
The entities are as follows:
Public class TestEntity {@ Excel (name = "name", width = 15) private String username; @ Excel (name = "age", width = 15) private int age;. Omit subsequent getset
The data format is as follows:
/ / multiple map, corresponding to multiple sheet List listMap = new ArrayList (); for (int iTune0