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

货币、百分比等格式无法动态设置 #4073

Open
keepcoming opened this issue Jan 9, 2025 · 0 comments
Open

货币、百分比等格式无法动态设置 #4073

keepcoming opened this issue Jan 9, 2025 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@keepcoming
Copy link

触发场景描述

导出时有很多字段需要动态设置不同列的单元格格式,无法使用@DateTimeFormat("yyyy年MM月dd日")、@numberformat("#.##%")、@numberformat("¥#.##")等注解,导出后单元格格式没有变化
image

结果

image

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

不会出现异常,但效果无法达到,使用文本写入时,excel会出现空格或格式异常提示,如下图
image

@keepcoming keepcoming added the bug Something isn't working label Jan 9, 2025
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