查询出错修改

This commit is contained in:
杨志
2026-01-06 14:05:30 +08:00
parent 00204320eb
commit 20cad6535d

View File

@@ -202,7 +202,7 @@ class MatchService
->where('education_require', 'like', '%硕士%', 'or')
->where('education_require', 'like', '%博士%', 'or')
->where('education_require', '=', '', 'or')
->where('education_require', 'null', '', 'or');
->whereRaw('education_require IS NULL', [], 'or');
});
}
}
@@ -217,7 +217,7 @@ class MatchService
$q->where('sex_require', '不限制')
->where('sex_require', $resume['gender'], 'or')
->where('sex_require', '', 'or')
->where('sex_require', 'null', '', 'or');
->whereRaw('sex_require IS NULL', [], 'or');
});
}