5
触发Bug的代码
@Test
public void test() {
List<Student> list = new ArrayList<>();
for (int i = 0; i < 5; i++) {
Student student = new Student();
student.setId(i);
student.setName("KID " + i);
student.setAge(20 + i);
list.add(student);
}
EasyExcel.write(write_path, Student.class)
.registerWriteHandler(new CustomCellWriteHandler())
.sheet().doWrite(list);
}
提示的异常或者没有达到的效果