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

This commit is contained in:
qixinzhi
2024-09-24 16:29:38 +08:00
committed by 宋辰轩
parent 4eba621e69
commit 054ca4dc68
+15
View File
@@ -31,4 +31,19 @@ class biTao extends biModel
->fetchPairs();
}
/**
* Update sync time.
*
* @param array $tables
* @access protected
* @return void
*/
protected function updateSyncTime($tables)
{
$this->dao->update(TABLE_DUCKDBQUEUE)
->set('syncTime')->eq(helper::now())
->where('object')->in($tables)
->exec();
}
}