* Fix sql for dmdb.

This commit is contained in:
朱金勇
2023-04-05 14:18:24 +00:00
parent 0f6b78f264
commit 7f9d638d28
20 changed files with 76 additions and 51 deletions
+1 -1
View File
@@ -646,7 +646,7 @@ class adminModel extends model
public function genDateUsed()
{
$firstUseDate = $this->dao->select('date')->from(TABLE_ACTION)
->where('date')->gt('0000-00-00')
->where('date')->gt('1970-01-01')
->andWhere('actor')->eq($this->app->user->account)
->orderBy('date_asc')
->limit('1')