查询出错修改
This commit is contained in:
@@ -202,7 +202,7 @@ class MatchService
|
|||||||
->where('education_require', 'like', '%硕士%', 'or')
|
->where('education_require', 'like', '%硕士%', 'or')
|
||||||
->where('education_require', 'like', '%博士%', 'or')
|
->where('education_require', 'like', '%博士%', 'or')
|
||||||
->where('education_require', '=', '', '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', '不限制')
|
$q->where('sex_require', '不限制')
|
||||||
->where('sex_require', $resume['gender'], 'or')
|
->where('sex_require', $resume['gender'], 'or')
|
||||||
->where('sex_require', '', 'or')
|
->where('sex_require', '', 'or')
|
||||||
->where('sex_require', 'null', '', 'or');
|
->whereRaw('sex_require IS NULL', [], 'or');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user