mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进软删除
This commit is contained in:
@@ -139,7 +139,8 @@ trait SoftDelete
|
||||
$field = $this->db(false)->getTable() . '.' . $field;
|
||||
}
|
||||
if (!$read && strpos($field, '.')) {
|
||||
list($alias, $field) = explode('.', $field);
|
||||
$array = explode('.', $field);
|
||||
$field = array_pop($array);
|
||||
}
|
||||
return $field;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user