* [task#135726] add count of daily delete rows in user metric.

This commit is contained in:
liyang
2025-01-06 16:59:04 +08:00
committed by 曹延义
parent 7ebd83bee8
commit a795a6c27b
@@ -122,3 +122,15 @@ class count_of_daily_delete_rows_in_user extends baseCalc
$begin = "{$year}-{$month}-{$begin}";
$end = "{$year}-{$month}-{$end}";
}
if(!empty($this->repos) && !empty($this->scm))
{
foreach($this->rows as $account)
{
if(isset($this->result[$account->account])) continue;
$this->getUserCommitCount($account, $begin, $end);
}
}
return $this->getRecords(array('user', 'year', 'month', 'day'));
}
}