升级Thinkphp到5127版本
This commit is contained in:
1 parent
22a8f915e3
commit
9b8bd06b33
24 files changed
+504
-185
No files matched your search
@@ -235,7 +235,8 @@ trait SoftDelete
|
||||
$field = $this->getDeleteTimeField(true);
|
||||
|
||||
if ($field) {
|
||||
$query->useSoftDelete($field, $this->defaultSoftDelete);
|
||||
$condition = is_null($this->defaultSoftDelete) ? ['null', ''] : ['=', $this->defaultSoftDelete];
|
||||
$query->useSoftDelete($field, $condition);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user