* commit unfinished job for task #38934.

This commit is contained in:
dingguodong
2021-07-02 17:21:40 +08:00
parent 7b52b61439
commit 7d31a09810
9 changed files with 131 additions and 85 deletions
+23 -1
View File
@@ -198,7 +198,24 @@ class gitlabModel extends model
->andWhere('product')->eq($productID)
->fetchGroup('AID');
}
/**
* Get executions by one product for gitlab module.
*
* @param int $productID
* @access public
* @return array
*/
public function getExecutionsByProduct($productID)
{
return $this->dao->select('distinct execution')->from(TABLE_RELATION)
->where('relation')->eq('interrated')
->andWhere('AType')->eq('gitlab')
->andWhere('BType')->eq('gitlabProject')
->andWhere('product')->eq($productID)
->fetchAll('execution');
}
/**
* Get gitlabID and projectID.
*
@@ -326,6 +343,11 @@ class gitlabModel extends model
return $allResults;
}
public function apiGetIssues($gitlabID, $projectID)
{
}
/**
* Get hooks.
*