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

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

parent b934edab
......@@ -101,18 +101,17 @@ public class BizKnowledgeInfoDto {
}
/**
* MODIFIED_TIME
* MODIFIED_TIME
* createdTime
* createdTime
*/
private java.util.Date modifiedTime;
private java.util.Date createdTime;
@Column(name = "MODIFIED_TIME")
public java.util.Date getModifiedTime() {
return this.modifiedTime;
public java.util.Date getCreatedTime() {
return this.createdTime;
}
public void setModifiedTime(java.util.Date modifiedTime) {
this.modifiedTime = modifiedTime;
public void getCreatedTime(java.util.Date createdTime) {
this.createdTime = createdTime;
}
}
\ No newline at end of file
......@@ -113,7 +113,7 @@ public class BizKnowledgeInfoServiceImpl extends BaseServiceImpl
@Override
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
......
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