Commit 335afb42 authored by alex yao's avatar alex yao

fix:知识库列表-创建时间排序

parent b934edab
...@@ -101,18 +101,17 @@ public class BizKnowledgeInfoDto { ...@@ -101,18 +101,17 @@ public class BizKnowledgeInfoDto {
} }
/** /**
* MODIFIED_TIME * createdTime
* MODIFIED_TIME * createdTime
*/ */
private java.util.Date modifiedTime; private java.util.Date createdTime;
@Column(name = "MODIFIED_TIME") public java.util.Date getCreatedTime() {
public java.util.Date getModifiedTime() { return this.createdTime;
return this.modifiedTime;
} }
public void setModifiedTime(java.util.Date modifiedTime) { public void getCreatedTime(java.util.Date createdTime) {
this.modifiedTime = modifiedTime; this.createdTime = createdTime;
} }
} }
\ No newline at end of file
...@@ -113,7 +113,7 @@ public class BizKnowledgeInfoServiceImpl extends BaseServiceImpl ...@@ -113,7 +113,7 @@ public class BizKnowledgeInfoServiceImpl extends BaseServiceImpl
@Override @Override
public List<KnowledgeInfosQueryItem> knowledgeInfos(KnowledgeInfosQueryCondition condition, PagingInfo pagingInfo) throws Exception { public List<KnowledgeInfosQueryItem> knowledgeInfos(KnowledgeInfosQueryCondition condition, PagingInfo pagingInfo) throws Exception {
return this.sqlDao.query(condition, KnowledgeInfosQueryItem.class, "MODIFIED_TIME DESC",pagingInfo); return this.sqlDao.query(condition, KnowledgeInfosQueryItem.class, "CREATED_TIME DESC",pagingInfo);
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment