fix(EmsEnergyRecordVo): 修正统计日期格式化注解
- 移除错误的ExcelDictFormat注解 - 添加DateTimeFormat注解以支持日期格式化 - 将日期格式统一为yyyy-MM-dd模式
This commit is contained in:
@@ -53,6 +53,7 @@ public class EmsEnergyRecordVo {
|
||||
* 统计日期(yyyy-MM-dd)
|
||||
*/
|
||||
@ExcelProperty(value = "统计日期", converter = ExcelDictConvert.class)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private Date recordDate;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user