Browse Source

我的成果列表新增创建时间

anderx 7 years ago
parent
commit
e48e7f055a

+ 2 - 1
src/main/java/com/goafanti/common/mapper/AchievementMapper.xml

@@ -1279,7 +1279,8 @@ order by release_date limit #{0}
   		a.category,
   		a.data_category as dataCategory,
   		a.name, 
-  		a.release_date as releaseDate, 
+  		a.release_date as releaseDate,
+  		a.create_time as createTime, 
   		a.audit_status as auditStatus,
   		a.boutique,
   		if(isnull(c.interestCount),0,c.interestCount) as interestCount,

+ 7 - 0
src/main/java/com/goafanti/portal/bo/AchievementObject.java

@@ -25,6 +25,7 @@ public class AchievementObject extends InputAchievement {
 	private String dataCategoryS;
 	private String firstPicture;
 	private String city;
+	private Date  createTime;
 
 	public String getCity() {
 		return city;
@@ -159,6 +160,12 @@ public class AchievementObject extends InputAchievement {
 	public void setIfInterest(String ifInterest) {
 		this.ifInterest = ifInterest;
 	}
+	public Date getCreateTime() {
+		return createTime;
+	}
+	public void setCreateTime(Date createTime) {
+		this.createTime = createTime;
+	}