Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue 1915 #1916

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Fix issue 1915 #1916

wants to merge 6 commits into from

Conversation

KID0031
Copy link
Contributor

@KID0031 KID0031 commented May 7, 2021

fix #1915

@zhuangjiaju
Copy link
Collaborator

@Test
public void test11() {
    String fileName = TestFileUtil.getPath() + "stud" + System.currentTimeMillis() + ".xlsx";

    List<Student> list = new ArrayList<>();
    for (int i = 0; i < 5; i++) {
        Student student = new Student();
        student.setId(i);
        list.add(student);
    }
    EasyExcel.write(fileName, Student.class)
        .sheet().doWrite(list);
}

@Data
public static class Student{
    private Integer id;

}

实际测试未发现情况 是否版本过老?

@zhuangjiaju zhuangjiaju added the question Further information is requested label Sep 15, 2021
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

使用内部类导出excel表头会出现this$0(2.2.7版本)
3 participants