1.添加多个企业查询功能-用户移动端企业比对

This commit is contained in:
sh
2025-10-21 18:14:12 +08:00
parent 4c28d07bc3
commit 65487c073f
3 changed files with 21 additions and 0 deletions

View File

@@ -67,4 +67,6 @@ public interface IESJobSearchService
void updateJob(Long jobId);
void deleteJob(Long jobId);
List<ESJobDocument> selectByIds(Long[] jobIds);
}

View File

@@ -553,4 +553,10 @@ public class ESJobSearchImpl implements IESJobSearchService
esJobDocumentMapper.delete(lambdaEsQueryWrapper);
esJobDocumentMapper.insert(esJobDocument);
}
public List<ESJobDocument> selectByIds(Long[] jobIds) {
LambdaEsQueryWrapper<ESJobDocument> wrapper = new LambdaEsQueryWrapper<>();
wrapper.in(ESJobDocument::getJobId,jobIds);
return esJobDocumentMapper.selectList(wrapper);
}
}