* Adjust code detail.

This commit is contained in:
Yagami
2021-04-15 14:34:15 +08:00
parent f496c74591
commit 5647cfb066
2 changed files with 3 additions and 3 deletions

View File

@@ -139,7 +139,7 @@ class docModel extends model
if($lib->type == 'execution' and $lib->execution)
{
$execution = $this->loadModel('execution')->getByID($lib->execution);
$execution = $this->loadModel('execution')->getByID($lib->execution);
$lib->project = $execution->project;
}

View File

@@ -260,7 +260,7 @@ class projectModel extends model
$teams = $this->dao->select('root, count(*) as teams')->from(TABLE_TEAM)
->where('root')->in($projectIdList)
->andWhere('type')->in('project')
->andWhere('type')->eq('project')
->groupBy('root')->fetchPairs();
$hours = $this->dao->select('project,
@@ -402,7 +402,7 @@ class projectModel extends model
}
/**
* Get team members in pair.
* Get team members in project.
*
* @param int $projectID
* @param string $params