Merge branch 'sprint/master_zhouxudong_60393' into 'master'

* Finish task #60393.

See merge request easycorp/zentaopms!4487
This commit is contained in:
王怡栋
2022-07-13 02:02:44 +00:00
2 changed files with 3 additions and 6 deletions
+2 -5
View File
@@ -3701,11 +3701,8 @@ class execution extends control
$parents = array();
if($parentIdList) $parents = $this->execution->getByIdList($parentIdList);
$allExecutionsNum = $this->dao->select('COUNT(id) AS count')->from(TABLE_PROJECT)
->where('project')->eq($projectID)
->andWhere('deleted')->eq(0)
->fetch();
$this->view->allExecutionsNum = $allExecutionsNum;
$allExecutionsNum = $this->project->getStats($projectID, 'all');
$this->view->allExecutionsNum = count($allExecutionsNum);
$this->view->executionStats = $executionStats;
$this->view->productList = $this->loadModel('product')->getProductPairsByProject($projectID);