From b1777c7ef4440b74bf5b36ac80aca26329a412bf Mon Sep 17 00:00:00 2001 From: du <1725534722@qq.com> Date: Wed, 4 Dec 2024 17:37:02 +0800 Subject: [PATCH] bugfix --- ruoyi-admin/src/main/java/com/ruoyi/tc/entity/Unit.java | 4 ++-- ruoyi-admin/src/main/resources/mapper/UnitMapper.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/Unit.java b/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/Unit.java index 42d7d67..65df9cc 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/Unit.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/tc/entity/Unit.java @@ -223,7 +223,7 @@ public class Unit implements Serializable { @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") @TableField(fill = FieldFill.INSERT) - private LocalDateTime createTime; + private Date createTime; /** * 更新者 @@ -239,7 +239,7 @@ public class Unit implements Serializable { @TableField(fill = FieldFill.INSERT_UPDATE) @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") - private LocalDateTime updateTime; + private Date updateTime; @ApiModelProperty("备注") @Excel(name = "备注") diff --git a/ruoyi-admin/src/main/resources/mapper/UnitMapper.xml b/ruoyi-admin/src/main/resources/mapper/UnitMapper.xml index 66ff94b..71767f0 100644 --- a/ruoyi-admin/src/main/resources/mapper/UnitMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/UnitMapper.xml @@ -104,7 +104,7 @@ order by create_time desc - select a.*, c.*, e.*,