From 9c791d431038fe79a111805762ee2f42c96b51c5 Mon Sep 17 00:00:00 2001
From: Helius <wangdoubleone@gmail.com>
Date: Mon, 08 Nov 2021 17:03:15 +0800
Subject: [PATCH] fix

---
 zq-erp/src/main/java/com/matrix/system/shopXcx/bean/ShopProductComment.java |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 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..77e678d 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;
 
@@ -19,7 +20,7 @@
 	/**
 	 * 主键
 	 */
-	private Integer  comId;
+	private Long  comId;
 			
 	
 	/**
@@ -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;
 	}
 
@@ -181,14 +182,13 @@
 		auditStatus = auditStatus;
 	}
 
-	public Integer getComId() {
+	public Long getComId() {
 		return comId;
 	}
-   	
-   	public void setComId(Integer comId) {
-		this.comId=comId;
+
+	public void setComId(Long comId) {
+		this.comId = comId;
 	}
-   	
 
 	public String getUserId() {
 		return userId;

--
Gitblit v1.9.1