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