岗位-添加岗位类型(0常规岗位 1就业见习岗位 2实习实训岗位 3社区实践岗位)

This commit is contained in:
sh
2025-10-16 14:55:26 +08:00
parent 7994112283
commit ac2d427a71
4 changed files with 13 additions and 1 deletions

View File

@@ -142,4 +142,7 @@ public class ESJobDocument
@ApiModelProperty("岗位类型 0疆内 1疆外")
private String jobType;
@ApiModelProperty("类型 0常规岗位 1就业见习岗位 2实习实训岗位 3社区实践岗位 对应字段字典position_type")
private String type;
}

View File

@@ -162,6 +162,9 @@ public class Job extends BaseEntity
@ApiModelProperty("岗位类型 0疆内 1疆外")
private String jobType;
@ApiModelProperty("类型 0常规岗位 1就业见习岗位 2实习实训岗位 3社区实践岗位 对应字段字典position_type")
private String type;
@TableField(exist = false)
@ApiModelProperty("岗位联系人列表")
private List<JobContact> jobContactList;

View File

@@ -175,6 +175,9 @@ public class ESJobSearchImpl implements IESJobSearchService
if(!StringUtil.isEmptyOrNull(esJobSearch.getJobType())){
newSearch.setJobType(esJobSearch.getJobType());
}
if(!StringUtil.isEmptyOrNull(esJobSearch.getType())){
newSearch.setType(esJobSearch.getType());
}
}
LambdaEsQueryWrapper<ESJobDocument> wrapper = getWrapper(newSearch,jobIds);
@@ -399,6 +402,9 @@ public class ESJobSearchImpl implements IESJobSearchService
if(!StringUtil.isEmptyOrNull(esJobSearch.getJobType())){
wrapper.and(x->x.eq(ESJobDocument::getJobType,esJobSearch.getJobType()));
}
if(!StringUtil.isEmptyOrNull(esJobSearch.getType())){
wrapper.and(x->x.eq(ESJobDocument::getType,esJobSearch.getType()));
}
if(Objects.nonNull(esJobSearch.getOrder())){
if(esJobSearch.getOrder()==1){
wrapper.orderByDesc(ESJobDocument::getIsHot);

View File

@@ -107,7 +107,7 @@ public class AppUser extends BaseEntity
/**
* 是否企业用户 0是1否改为0企业1求职者2网格员
*/
@ApiModelProperty("app角色0企业1求职者2网格员")
@ApiModelProperty("app角色0企业1求职者2网格员 3内部政府人员")
private String isCompanyUser;
@TableField(exist = false)