参考
Can not find ‘Converter‘ support class LocalDateTime
easyExcel导出解决Can not find ‘Converter‘ support class Timestamp
MySQL date_format()函数
在使用easyexcel进行表格导出的时候出现错误:
com.alibaba.excel.exception.ExcelDataConvertException: Can not find ‘Converter’ support class LocalDateTime.
在springboot项目中使用使用easyexcel,默认是支持Date日期格式的导出的,但是不支持LocalDateTime日期格式
在sql中格式化日期即可
DATE_FORMAT(p.create_time,"%Y-%m-%d %H:%i:%S") as createTime,