mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
修正query类的find方法
This commit is contained in:
@@ -1801,7 +1801,7 @@ class Query
|
||||
// 分析查询表达式
|
||||
$options = $this->parseExpress();
|
||||
|
||||
if (!empty($data) || 0 == $data) {
|
||||
if (!empty($data) || 0 === $data) {
|
||||
// AR模式分析主键条件
|
||||
$this->parsePkWhere($data, $options);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user