easyexcel 使用table写入
***********************
示例
Test
@Data
class Person{
private Integer id;
private String name;
private Integer age;
}
@Data
class Fruit{
private Integer id;
private String name;
private Double price;
}
public class Test {
private static final String write_path="e:"+ File.separator+"java"+File.separator+"easyexcel"+File.separator+"write2.xlsx";
private static List<Person> data(){
List<Person> list=new ArrayList<>();
for (int i=0;i<5;i++){
Person person=new Person();
person.setId(i);
person.set