竞争力分析报错解决
This commit is contained in:
@@ -262,7 +262,7 @@ public class JobCollectionServiceImpl extends ServiceImpl<JobCollectionMapper,Jo
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 4. 地点匹配
|
// 4. 地点匹配
|
||||||
if (user.getArea() != null) {
|
if (user.getArea() != null && jobLocation != null) {
|
||||||
if(user.getArea().contains(jobLocation) || jobLocation.contains(user.getArea())){
|
if(user.getArea().contains(jobLocation) || jobLocation.contains(user.getArea())){
|
||||||
matchScore += 1;
|
matchScore += 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user