1.移动端获取推荐岗位时-如果是企业则按照只查询企业发布的岗位
2.添加根据岗位id查询岗位申请人员接口
This commit is contained in:
@@ -184,6 +184,9 @@ public class ESJobSearchImpl implements IESJobSearchService
|
||||
if(!StringUtil.isEmptyOrNull(esJobSearch.getCompanyNature())){
|
||||
newSearch.setCompanyNature(esJobSearch.getCompanyNature());
|
||||
}
|
||||
if(esJobSearch.getCompanyId()!=null){
|
||||
newSearch.setCompanyId(esJobSearch.getCompanyId());
|
||||
}
|
||||
}
|
||||
|
||||
LambdaEsQueryWrapper<ESJobDocument> wrapper = getWrapper(newSearch,jobIds);
|
||||
@@ -417,6 +420,9 @@ public class ESJobSearchImpl implements IESJobSearchService
|
||||
if(!StringUtil.isEmptyOrNull(esJobSearch.getCompanyNature())){
|
||||
wrapper.and(x->x.eq(ESJobDocument::getCompanyNature,esJobSearch.getCompanyNature()));
|
||||
}
|
||||
if(esJobSearch.getCompanyId()!=null){
|
||||
wrapper.and(x->x.eq(ESJobDocument::getCompanyId,esJobSearch.getCompanyId()));
|
||||
}
|
||||
if(Objects.nonNull(esJobSearch.getOrder())){
|
||||
if(esJobSearch.getOrder()==1){
|
||||
wrapper.orderByDesc(ESJobDocument::getIsHot);
|
||||
|
||||
@@ -17,6 +17,7 @@ import com.ruoyi.cms.service.*;
|
||||
import com.ruoyi.cms.util.*;
|
||||
import com.ruoyi.common.constant.Constants;
|
||||
import com.ruoyi.common.core.domain.TreeSelect;
|
||||
import com.ruoyi.common.core.domain.entity.AppUser;
|
||||
import com.ruoyi.common.core.domain.entity.Company;
|
||||
import com.ruoyi.common.core.domain.entity.JobTitle;
|
||||
import com.ruoyi.common.core.redis.RedisCache;
|
||||
@@ -803,4 +804,9 @@ public class JobServiceImpl extends ServiceImpl<JobMapper,Job> implements IJobSe
|
||||
}
|
||||
iesJobSearchService.updateJob(job.getJobId());
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<AppUser> selectApplyJobUserList(Long jobId) {
|
||||
return jobMapper.selectApplyJobUserList(jobId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user