修正一处软删除的问题

This commit is contained in:
thinkphp
2017-04-06 22:33:40 +08:00
parent 5d2a1bb61c
commit 64cba15bd3

View File

@@ -47,6 +47,9 @@ class Mysql extends Builder
$key = '`' . $key . '`';
}
if (isset($table)) {
if (strpos($table, '.')) {
$table = str_replace('.', '`.`', $table);
}
$key = '`' . $table . '`.' . $key;
}
return $key;