mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
改进关联预载入查询 两个相同模型查询的问题
This commit is contained in:
@@ -1466,7 +1466,7 @@ class Query
|
||||
unset($this->options['with_field']);
|
||||
}
|
||||
}
|
||||
$this->field($field, false, $joinTable, $joinAlias, $joinName . '__');
|
||||
$this->field($field, false, $joinTable, $joinAlias, $relation . '__');
|
||||
$i++;
|
||||
} elseif ($closure) {
|
||||
$with[$key] = $closure;
|
||||
|
||||
Reference in New Issue
Block a user