From d7dfd0fd3be63b7831fcc5a71996eb66ebeea6f6 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Wed, 7 Sep 2022 11:55:48 +0800 Subject: [PATCH] * fix bug. --- module/weekly/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/weekly/model.php b/module/weekly/model.php index af01ab0d55..4610cdb712 100755 --- a/module/weekly/model.php +++ b/module/weekly/model.php @@ -494,7 +494,7 @@ class weeklyModel extends model $monday = $this->getThisMonday($date); $nextMonday = date('Y-m-d', strtotime($monday) + (7 * 24 * 3600)); - $executions = $this->dao->select('id,begin,end,realEnd,status')->from(TABLE_EXECUTION)->where('deleted')->eq(0)->andWhere('vision')->eq($this->config->vision)->andWhere('project')->eq($projectID)->fetchAll('id'); + $executions = $this->dao->select('id,begin,end,realEnd,status')->from(TABLE_EXECUTION)->where('deleted')->eq(0)->andWhere('vision')->eq($this->config->vision)->andWhere('project')->eq($project)->fetchAll('id'); $executionIdList = array_keys($executions); $taskIdList = $this->dao->select('id')->from(TABLE_TASK) ->where('execution')->in($executionIdList)