* [refac] Refactor test lib classes.

This commit is contained in:
liugang
2026-01-16 14:40:55 +08:00
parent e05ac8f5a5
commit ff3ec0cb7f
85 changed files with 1220 additions and 9947 deletions
+1 -1
View File
@@ -718,7 +718,7 @@ class bugModel extends model
$staticData = array();
foreach($dateFields as $field)
{
$bugCount = $this->dao->select("count(id) as num, date_format($field, '%m/%d') as date")->from(TABLE_BUG)
$bugCount = $this->dao->select("COUNT(id) AS num, DATE_FORMAT($field, '%m/%d') AS date")->from(TABLE_BUG)
->where('product')->eq($productID)
->andWhere('deleted')->eq(0)
->andWhere($field)->between($startDate, $endDate . ' 23:50:59')