*Finish 44403,44406,44406,44401
This commit is contained in:
@@ -23,6 +23,18 @@ class compileModel extends model
|
||||
return $this->dao->select('*')->from(TABLE_COMPILE)->where('id')->eq($buildID)->fetch();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get By Queue.
|
||||
*
|
||||
* @param int $queue
|
||||
* @access public
|
||||
* @return void
|
||||
*/
|
||||
public function getByQueue($queue)
|
||||
{
|
||||
return $this->dao->select('*')->from(TABLE_COMPILE)->where('queue')->eq($queue)->fetch();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get build list.
|
||||
*
|
||||
@@ -45,7 +57,7 @@ class compileModel extends model
|
||||
->page($pager)
|
||||
->fetchAll('id');
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get list by jobID.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user