* Add update story to gitlab issue.

This commit is contained in:
lichengjun
2021-06-29 08:36:51 +08:00
parent d15cb6ed42
commit 38a0f4bbfd
2 changed files with 22 additions and 7 deletions
+15
View File
@@ -77,6 +77,21 @@ class gitlabModel extends model
->fetchPairs();
}
/**
* Get gitlab gitlabID and gitlabProjectID.
*
* @param int $gitlab
* @access public
* @return void
*/
public function getGitlabToGitlabProject($storyID)
{
return $this->dao->select('BID,BVersion')->from(TABLE_RELATION)
->where('relation')->eq('gitlab')
->andWhere('AID')->eq($storyID)
->fetchAll();
}
/**
* Get zentao account gitlab user id pairs of one gitlab.
*