竞争力分析报错解决

This commit is contained in:
2026-01-11 20:52:16 +08:00
parent 27cfb69c77
commit 7f402bf3a4

View File

@@ -262,7 +262,7 @@ public class JobCollectionServiceImpl extends ServiceImpl<JobCollectionMapper,Jo
}
// 4. 地点匹配
if (user.getArea() != null) {
if (user.getArea() != null && jobLocation != null) {
if(user.getArea().contains(jobLocation) || jobLocation.contains(user.getArea())){
matchScore += 1;
}