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

导入Excel功能中8位数的整形数据报错问题 #120

Open
wxqlandy opened this issue Jul 12, 2024 · 0 comments
Open

导入Excel功能中8位数的整形数据报错问题 #120

wxqlandy opened this issue Jul 12, 2024 · 0 comments

Comments

@wxqlandy
Copy link

正常导入Excel,如果关联的实体属性是Integer类型,单元格没有手动设置类型的情况下,8位数的数字会在autopoi取值时报错,版本号:1.4.8,跟踪代码发现是因为数字被转成科学计数的形式,代码中关联实体类是其它类型的情况下考虑了科学计数问题,但是Integer类型没有,希望官方能够加上。出问题的类是src/main/java/org/jeecgframework/poi/excel/imports/CellValueServer.java
1720766886004
报错如下图
1720767134369

具体位置如下图
1720766964684
红色代码是我加上去可以解决报错

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

No branches or pull requests

1 participant