mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进
This commit is contained in:
@@ -123,7 +123,7 @@ trait SoftDelete
|
||||
protected static function base($query)
|
||||
{
|
||||
if (static::$deleteTime) {
|
||||
$query->where(static::$tableAlias ?
|
||||
$query->where(!empty(static::$tableAlias) ?
|
||||
static::$tableAlias . '.' . static::$deleteTime :
|
||||
static::$deleteTime,
|
||||
'null');
|
||||
|
||||
Reference in New Issue
Block a user