Quellcode durchsuchen

修改日期字段从DATE类型改为DATETIME类型

wangxx vor 1 Woche
Ursprung
Commit
f1a9bb505e

+ 2 - 2
airport-ledger/src/main/java/com/sundot/airport/ledger/domain/LedgerRewardApproval.java

@@ -38,8 +38,8 @@ public class LedgerRewardApproval extends BaseEntity {
38 38
 
39 39
     private Long personId;
40 40
 
41
-    @JsonFormat(pattern = "yyyy-MM-dd")
42
-    @Excel(name = "查获(事件)时间", width = 20, dateFormat = "yyyy-MM-dd")
41
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
42
+    @Excel(name = "查获(事件)时间", width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss")
43 43
     private Date approveDate;
44 44
 
45 45
     @Excel(name = "奖励类别")

+ 2 - 2
airport-ledger/src/main/java/com/sundot/airport/ledger/domain/LedgerTerminalBonus.java

@@ -44,8 +44,8 @@ public class LedgerTerminalBonus extends BaseEntity {
44 44
     @Excel(name = "记分值")
45 45
     private BigDecimal addScore;
46 46
 
47
-    @JsonFormat(pattern = "yyyy-MM-dd")
48
-    @Excel(name = "记分日期", width = 20, dateFormat = "yyyy-MM-dd")
47
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
48
+    @Excel(name = "记分日期", width = 20, dateFormat = "yyyy-MM-dd HH:mm:ss")
49 49
     private Date scoreDate;
50 50
 
51 51
     @Excel(name = "捡到物品金额")