升级到31版本、修改学生成绩筛选

This commit is contained in:
巴掌 committed 2018-12-11 10:59:15 +08:00
1 parent a79e7bf237
commit d8ec4fad39
34 files changed
+447 -114

No files matched your search

@@ -140,7 +140,7 @@ trait SoftDelete
public static function destroy($data, $force = false)
{
// 包含软删除数据
$query = self::withTrashed();
$query = (new static())->db(false);
if (is_array($data) && key($data) !== 0) {
$query->where($data);