mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-08-30 20:55:31 +08:00
改进数据库操作join自身后出错的问题
This commit is contained in:
@@ -716,6 +716,9 @@ class Query
|
||||
}
|
||||
}
|
||||
if (isset($alias)) {
|
||||
if (isset($this->options['alias'][$table])) {
|
||||
$table = $table . '@think' . uniqid();
|
||||
}
|
||||
$table = [$table => $alias];
|
||||
$this->alias($table);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user