* [dao] move code, fix error.

This commit is contained in:
sunguangming
2025-06-03 06:25:40 +00:00
parent 2dd8c540f0
commit 20b985665a
+3 -3
View File
@@ -926,10 +926,10 @@ class baseDAO
}
}
}
if(dao::$filterTpl == 'skip') dao::$filterTpl = 'always';
}
if(dao::$filterTpl == 'skip') dao::$filterTpl = 'always';
/**
* 如果是magic模式,处理表和字段。
* If the mode is magic, process the $fields and $table.
@@ -1295,7 +1295,7 @@ class baseDAO
*/
public function fetch($field = '')
{
$this->filterTpl('never');
$this->filterTpl('skip');
$sql = $this->processSQL();
$key = $this->createCacheKey('fetch', md5($sql));