mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-10 00:22:48 +08:00
修正一处软删除的问题
This commit is contained in:
@@ -47,6 +47,9 @@ class Mysql extends Builder
|
|||||||
$key = '`' . $key . '`';
|
$key = '`' . $key . '`';
|
||||||
}
|
}
|
||||||
if (isset($table)) {
|
if (isset($table)) {
|
||||||
|
if (strpos($table, '.')) {
|
||||||
|
$table = str_replace('.', '`.`', $table);
|
||||||
|
}
|
||||||
$key = '`' . $table . '`.' . $key;
|
$key = '`' . $table . '`.' . $key;
|
||||||
}
|
}
|
||||||
return $key;
|
return $key;
|
||||||
|
|||||||
Reference in New Issue
Block a user