* [bug#58259,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2024-12-25 17:09:32 +08:00
committed by 王怡栋
parent d4f17fdf0a
commit cd6f6ac3d7
+2 -2
View File
@@ -337,7 +337,7 @@ class weeklyModel extends model
->from(TABLE_TASK)
->where('execution')->in($executionIdList)
->andWhere('deleted')->eq(0)
->andWhere('parent')->ge(0)
->andWhere('isParent')->eq('0')
->groupBy('type')
->fetchPairs();
}
@@ -478,7 +478,7 @@ class weeklyModel extends model
$executions = $this->dao->select('id,begin,end,realBegan,realEnd,status')->from(TABLE_EXECUTION)->where('deleted')->eq(0)->andWhere('vision')->eq($this->config->vision)->andWhere('project')->eq($projectID)->fetchAll('id');
$stmt = $this->dao->select('*')->from(TABLE_TASK)
->where('execution')->in(array_keys($executions))
->andWhere("parent")->ge(0)
->andWhere('isParent')->eq('0')
->andWhere("deleted")->eq(0)
->andWhere("status")->ne('cancel')
->query();