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 读取负数异常 #6133

Closed
cym1231 opened this issue Apr 17, 2024 · 5 comments · Fixed by jeecgboot/autopoi#115
Closed

excel 读取负数异常 #6133

cym1231 opened this issue Apr 17, 2024 · 5 comments · Fixed by jeecgboot/autopoi#115

Comments

@cym1231
Copy link

cym1231 commented Apr 17, 2024

版本号:3.5.3
前端版本:vue3版
问题描述:excel导入获取值失败,关键点实体类类型为integer @Excel注解type为4如图一 但是当excel中balance字段值为负数时则会解析失败,如图二,定位问题在于excel导入时 负数被识别为字符串如图三,希望cr大佬解决下
截图&代码:

图一
image
图二
image
图三
image

友情提示(为了提高issue处理效率):

  • 未按格式要求发帖,会被直接删掉;
  • 描述过于简单或模糊,导致无法处理的,会被直接删掉;
  • 请自己初判问题描述是否清楚,是否方便我们调查处理;
  • 针对问题请说明是Online在线功能(需说明用的主题模板),还是生成的代码功能;
@zhangdaiscott
Copy link
Member

cr

@hoperunChen
Copy link

@cym1231 已修复,待autopoi更新。 jeecgboot/autopoi#115

zhangdaiscott added a commit to jeecgboot/autopoi that referenced this issue Apr 25, 2024
@cym1231
Copy link
Author

cym1231 commented Apr 25, 2024

@cym1231 已修复,待autopoi更新。 jeecgboot/autopoi#115

好的佬 辛苦了佬 所以要等新版本是么?

@zhangdaiscott
Copy link
Member

升级autopoi到1.4.8版本就好了

<dependency>
  <groupId>org.jeecgframework</groupId>
  <artifactId>autopoi-web</artifactId>
  <version>1.4.8</version>
</dependency>

@cym1231
Copy link
Author

cym1231 commented Apr 28, 2024

升级autopoi到1.4.8版本就好了

<dependency>
  <groupId>org.jeecgframework</groupId>
  <artifactId>autopoi-web</artifactId>
  <version>1.4.8</version>
</dependency>

佬,非常感谢。

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

Successfully merging a pull request may close this issue.

3 participants