* adjust for manage members and products for no multiple project.

This commit is contained in:
wangyidong
2022-09-30 13:23:22 +08:00
parent 7a0fc238bf
commit acc7774419
4 changed files with 30 additions and 4 deletions
+12
View File
@@ -1673,6 +1673,18 @@ class executionModel extends model
return $executions;
}
/**
* Get no multiple execution id.
*
* @param int $projectID
* @access public
* @return int
*/
public function getNoMultipleID($projectID)
{
return $this->dao->select('id')->from(TABLE_EXECUTION)->where('project')->eq($projectID)->andWhere('multiple')->eq(0)->andWhere('deleted')->eq(0)->fetch('id');
}
/**
* Create the link from module,method,extra
*