From 45286ba61d7df92ca3d60bdf187b94d5a4349874 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期二, 22 十一月 2022 15:00:10 +0800 Subject: [PATCH] # --- src/main/java/com/zy/crm/manager/entity/Plan.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/crm/manager/entity/Plan.java b/src/main/java/com/zy/crm/manager/entity/Plan.java index 142cb76..606eb5f 100644 --- a/src/main/java/com/zy/crm/manager/entity/Plan.java +++ b/src/main/java/com/zy/crm/manager/entity/Plan.java @@ -96,7 +96,7 @@ */ @ApiModelProperty(value= "鐢宠鏃ユ湡") @TableField("apple_time") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd") private Date appleTime; /** @@ -130,7 +130,7 @@ */ @ApiModelProperty(value= "瀹屾垚鏃堕棿") @TableField("finish_time") - @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") + @DateTimeFormat(pattern="yyyy-MM-dd") private Date finishTime; /** @@ -358,7 +358,7 @@ if (Cools.isEmpty(this.appleTime)){ return ""; } - return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.appleTime); + return new SimpleDateFormat("yyyy-MM-dd").format(this.appleTime); } public String getPlanNeed$(){ @@ -386,7 +386,7 @@ if (Cools.isEmpty(this.finishTime)){ return ""; } - return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.finishTime); + return new SimpleDateFormat("yyyy-MM-dd").format(this.finishTime); } public String getChange$(){ -- Gitblit v1.9.1