* [dao] move code, fix error.
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user