* [story#60827,0.5h] add fetchActionDate.

This commit is contained in:
qixinzhi
2024-09-24 16:29:38 +08:00
committed by 宋辰轩
parent 054ca4dc68
commit 267dc5a88b
+14
View File
@@ -46,4 +46,18 @@ class biTao extends biModel
->exec();
}
/**
* Fetch action date.
*
* @access protected
* @return object
*/
protected function fetchActionDate()
{
return $this->dao->select('min(date) as minDate, max(date) as maxDate')
->from(TABLE_ACTION)
->where('date')->ge('2009-01-01')
->fetch();
}
}