This commit is contained in:
chenyanchang
2026-06-25 15:12:47 +08:00
parent 9b3f6a738a
commit e0cb1f48a2

View File

@@ -1107,7 +1107,7 @@ public class JobServiceImpl extends ServiceImpl<JobMapper,Job> implements IJobSe
if(userId != null){ if(userId != null){
//收藏 //收藏
Set<Long> collectionIds = jobCollectionMapper.selectList(Wrappers.<JobCollection>lambdaQuery() Set<Long> collectionIds = jobCollectionMapper.selectList(Wrappers.<JobCollection>lambdaQuery()
.eq(JobCollection::getUserId, SecurityUtils.getUserId()) .eq(JobCollection::getUserId, userId)
.in(JobCollection::getJobId, jobs.stream().map(ESJobDocument::getJobId).collect(Collectors.toList()))) .in(JobCollection::getJobId, jobs.stream().map(ESJobDocument::getJobId).collect(Collectors.toList())))
.stream().map(JobCollection::getJobId).collect(Collectors.toSet()); .stream().map(JobCollection::getJobId).collect(Collectors.toSet());
Set<Long> applyJobIds = new HashSet<>(); Set<Long> applyJobIds = new HashSet<>();