* Add date to cfd.

This commit is contained in:
孙广明
2022-07-06 09:16:36 +08:00
parent 6fe5ef5a23
commit 9a6689837b
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -3005,9 +3005,9 @@ class executionModel extends model
* @access public
* @return array
*/
public function computeCFD($executionID = 0)
public function computeCFD($executionID = 0, $date = '')
{
$today = helper::today();
$today = $date ? $date : helper::today();
$executions = $this->dao->select('id, code')->from(TABLE_EXECUTION)
->where('type')->eq('kanban')
->andWhere('status')->notin('done,closed,suspended')