修改推荐岗位判断推荐条数
This commit is contained in:
@@ -175,7 +175,11 @@ public class CmsJobController extends BaseController
|
||||
esJobSearch.setCode(RoleUtils.getCurrentUseridCard());
|
||||
esJobSearch.setUserType(StringUtil.IS_COMPANY_USER);
|
||||
}
|
||||
//判断pageSize
|
||||
Integer pageSize=esJobSearch.getPageSize();
|
||||
if (pageSize == null || pageSize <= 0) {
|
||||
esJobSearch.setPageSize(20);
|
||||
}
|
||||
List<ESJobDocument> jobList = jobService.sysRecommend(esJobSearch);
|
||||
List<Job> jobs=new ArrayList<>();
|
||||
jobList.stream().forEach(it->{
|
||||
|
||||
Reference in New Issue
Block a user