mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 14:52:47 +08:00
修正一对一关联
This commit is contained in:
@@ -128,6 +128,7 @@ class BelongsTo extends OneToOne
|
||||
}
|
||||
|
||||
if (!empty($range)) {
|
||||
$this->query->removeWhereField($localKey);
|
||||
$data = $this->eagerlyWhere($this->query, [
|
||||
$localKey => [
|
||||
'in',
|
||||
|
||||
Reference in New Issue
Block a user