This commit is contained in:
wangyidong
2016-09-12 17:15:19 +08:00
parent a712b2b3e4
commit c4ec0828f6
+1 -1
View File
@@ -162,7 +162,7 @@ class buildModel extends model
{
return $this->dao->select('id, name')->from(TABLE_BUILD)
->where('project')->eq((int)$projectID)
->orderBy('date DESC')
->orderBy('date DESC,id DESC')
->limit(1)
->fetch();
}