Skip to content

[Enhancement] 希望模板填充增加对多层级嵌套对象的访问 #818

@zhengwen6300

Description

@zhengwen6300

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

List<A> records = new ArrayList<>();
FastExcel.write(excelFileName).withTemplate(is).sheet().doFill(records);
@Getter
@Setter
public class A {
    private B b;
}
@Getter
@Setter
public class B {
    private String c;
}

希望通过占位符{.b.c}能够填充b对象的属性c的值

Solution

No response

Alternatives

No response

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions