mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-03 22:02:48 +08:00
修正softDelete
This commit is contained in:
@@ -120,7 +120,7 @@ trait SoftDelete
|
||||
protected static function base($query)
|
||||
{
|
||||
if (static::$deleteTime) {
|
||||
$query->where(static::$deleteTime, 'exp', 'null');
|
||||
$query->where(static::$deleteTime, 'exp', 'is null');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user