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

复合表头/多表头读取数据失败 #4022

Open
Chris-Arith opened this issue Oct 15, 2024 · 0 comments
Open

复合表头/多表头读取数据失败 #4022

Chris-Arith opened this issue Oct 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Chris-Arith
Copy link

触发场景描述

复合表头导入数据。

触发Bug的代码

   /** 1#带束层长度:mm */
    @ExcelProperty({"带束层(钢丝)", "1#带", "长度(毫米)"})
    @ApiModelProperty(value = "1#带束层长度:mm")
    private BigDecimal firstBeltLength;

    /** 1#带束层宽度:mm */
    @ExcelProperty({"带束层(钢丝)", "1#带", "宽度(毫米)"})
    @ApiModelProperty(value = "1#带束层宽度:mm")
    private BigDecimal firstBeltWidth;

    /** 2#带束层长度:mm */
    @ExcelProperty({"带束层(钢丝)", "2#带", "长度(毫米)"})
    @ApiModelProperty(value = "2#带束层长度:mm")
    private BigDecimal secondBeltLength;

    /** 2#带束层宽度:mm */
    @ExcelProperty({"带束层(钢丝)", "2#带", "宽度(毫米)"})
    @ApiModelProperty(value = "2#带束层宽度:mm")
    private BigDecimal secondBeltWidth;

提示的异常或者没有达到的效果

复合表头导出时可以正常导出,但是使用导出的模板,填写数据导入时,读取不到复合表头的单元格数据。
image

@Chris-Arith Chris-Arith added the bug Something isn't working label Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants