We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
AutoPoi 在将excel转换为LIst时,对象的属性为LocalDate、LocalDateTIme类型对象,因为其不是Java基础类。会导致转换失败,使用自定义数据处理器也不行。esaypoi可以正常转换。
//ExcelImportUtil.importExcel()方法转换
//excel.show()==true 这里excel为null,报错
//实体类 ‘’‘java
public class CcCollect{
/** id */ private Long id; /** 日期 */ @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "日期", format = "yyyy-MM-dd") private LocalDate date; /** 创建时间 */ @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate createTime ; /** 修改时间 */ @DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate updateTime; /** 创建人 */ private String createBy;
‘’‘’
Spring Authorization Server
Shiro
The text was updated successfully, but these errors were encountered:
cr
Sorry, something went wrong.
已经修复下个版本发布
No branches or pull requests
版本号:JeecgBoot 3.6.3
分支: master
前端版本: vue3
问题描述:
AutoPoi 在将excel转换为LIst时,对象的属性为LocalDate、LocalDateTIme类型对象,因为其不是Java基础类。会导致转换失败,使用自定义数据处理器也不行。esaypoi可以正常转换。
截图&代码:
//ExcelImportUtil.importExcel()方法转换

//excel.show()==true 这里excel为null,报错

//实体类
‘’‘java
public class CcCollect{
‘’‘’
友情提示(为了提高issue处理效率):
Spring Authorization Server
替换Shiro
,目前是beta版不稳定,生产项目不要使用;The text was updated successfully, but these errors were encountered: