Преглед на файлове

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

anderx преди 7 години
родител
ревизия
e48e7f055a
променени са 2 файла, в които са добавени 9 реда и са изтрити 1 реда
  1. 2 1
      src/main/java/com/goafanti/common/mapper/AchievementMapper.xml
  2. 7 0
      src/main/java/com/goafanti/portal/bo/AchievementObject.java

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

@@ -1279,7 +1279,8 @@ order by release_date limit #{0}
   		a.category,
   		a.category,
   		a.data_category as dataCategory,
   		a.data_category as dataCategory,
   		a.name, 
   		a.name, 
-  		a.release_date as releaseDate, 
+  		a.release_date as releaseDate,
+  		a.create_time as createTime, 
   		a.audit_status as auditStatus,
   		a.audit_status as auditStatus,
   		a.boutique,
   		a.boutique,
   		if(isnull(c.interestCount),0,c.interestCount) as interestCount,
   		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 dataCategoryS;
 	private String firstPicture;
 	private String firstPicture;
 	private String city;
 	private String city;
+	private Date  createTime;
 
 
 	public String getCity() {
 	public String getCity() {
 		return city;
 		return city;
@@ -159,6 +160,12 @@ public class AchievementObject extends InputAchievement {
 	public void setIfInterest(String ifInterest) {
 	public void setIfInterest(String ifInterest) {
 		this.ifInterest = ifInterest;
 		this.ifInterest = ifInterest;
 	}
 	}
+	public Date getCreateTime() {
+		return createTime;
+	}
+	public void setCreateTime(Date createTime) {
+		this.createTime = createTime;
+	}