From b0c5d432ec041221dcbe81ca5ae3aa20fe3bddc6 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 22 Mar 2021 20:17:58 +0800
Subject: [PATCH] Merge branch 'score_shop' of http://120.27.238.55:7000/r/beauty-erp into score_shop

---
 zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopProductComment.java |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopProductComment.java b/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopProductComment.java
index 811dd40..9c9557d 100644
--- a/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopProductComment.java
+++ b/zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopProductComment.java
@@ -3,6 +3,7 @@
 import com.matrix.core.anotations.Extend;
 import com.matrix.core.tools.DateUtil;
 import com.matrix.system.common.bean.EntityDTOExt;
+import org.springframework.format.annotation.DateTimeFormat;
 
 import java.util.Date;
 
@@ -130,14 +131,14 @@
 	/**
 	 * 开始时间
 	 */
-	@Extend
-	private String commentBeginTime;
+	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
+	private Date commentBeginTime;
 
 	/**
 	 * 结束时间
 	 */
-	@Extend
-	private String commentEndTime;
+	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
+	private Date commentEndTime;
 	private Long companyId;
 	public Long getCompanyId() {
 		return companyId;
@@ -157,19 +158,19 @@
 		this.dateToStrTime = dateToStrTime;
 	}
 
-	public String getCommentBeginTime() {
+	public Date getCommentBeginTime() {
 		return commentBeginTime;
 	}
 
-	public void setCommentBeginTime(String commentBeginTime) {
+	public void setCommentBeginTime(Date commentBeginTime) {
 		this.commentBeginTime = commentBeginTime;
 	}
 
-	public String getCommentEndTime() {
+	public Date getCommentEndTime() {
 		return commentEndTime;
 	}
 
-	public void setCommentEndTime(String commentEndTime) {
+	public void setCommentEndTime(Date commentEndTime) {
 		this.commentEndTime = commentEndTime;
 	}
 

--
Gitblit v1.9.1