Commit 67ecee6c by 叶立庆

Merge branch 'v5.5.1' into 'master'

v5.5.1发起合并请求到master分支

See merge request !1
2 parents 67e36e17 19a24095
/target/
......@@ -19,7 +19,7 @@
<dependency>
<groupId>cn.com.glsx.dj</groupId>
<artifactId>rpc-dj-staff-api</artifactId>
<version>5.3.0-SNAPSHOT</version>
<version>5.5.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>cn.com.glsx.dj</groupId>
......
package cn.com.glsx.dj.staff.controller.recruitment;
import cn.com.glsx.dj.smartcarlife.dto.LoginUserDTO;
import cn.com.glsx.dj.smartcarlife.dto.ServiceMerchantDTO;
import cn.com.glsx.dj.smartcarlife.remote.ServiceMerchantRemote;
import cn.com.glsx.dj.staff.dto.recruitment.*;
......@@ -58,7 +59,15 @@ public class RecruitmentDemandController {
@ApiOperation("招聘需求分页查询")
@ServiceMethod(method = "dj.staff.api.recruitment.demand.page", needInSession = NeedInSessionType.YES)
public RopResponse<RpcPagination<RecruitmentDemandPageRecordDTO>> recruitmentDemandPage(RecruitmentDemandPageRequest request) {
LoginUserDTO loginUser = CommonUtil.getLoginUser();
String userName = loginUser.getUserName();
RpcPagination<RecruitmentDemandPageRecordDTO> pagination = CommonUtil.getRpcPagination(RecruitmentDemandPageRecordDTO.class);
RecruitmentDemandPageRecordDTO condition = pagination.getCondition();
condition.setDsRegionOperationId(loginUser.getUuid());
condition.setDsRecruiterPhone(loginUser.getPhone());
condition.setDsCreatedBy(userName);
RpcResponse<RpcPagination<RecruitmentDemandPageRecordDTO>> page = recruitmentDemandRemote.recruitmentDemandWebPage(pagination);
return CommonUtil.convertRopResponse(page);
}
......@@ -83,11 +92,19 @@ public class RecruitmentDemandController {
}
public String exportAsyncExcel(RecruitmentDemandPageRequest request) {
LoginUserDTO loginUser = CommonUtil.getLoginUser();
String userName = loginUser.getUserName();
List<RecruitmentDemandExportVO> excels = new ArrayList<RecruitmentDemandExportVO>();
RpcPagination<RecruitmentDemandPageRecordDTO> rpcPagination = CommonUtil.getRpcPagination(RecruitmentDemandPageRecordDTO.class);
rpcPagination.setPageNum(1);
rpcPagination.setPageSize(Integer.parseInt(env.getProperty("export_limit_num", "30000")));
RpcResponse<List<RecruitmentDemandExportDTO>> response = recruitmentDemandRemote.recruitmentDemandExportData(rpcPagination);
RpcPagination<RecruitmentDemandPageRecordDTO> pagination = CommonUtil.getRpcPagination(RecruitmentDemandPageRecordDTO.class);
RecruitmentDemandPageRecordDTO condition = pagination.getCondition();
condition.setDsRegionOperationId(loginUser.getUuid());
condition.setDsRecruiterPhone(loginUser.getPhone());
condition.setDsCreatedBy(userName);
pagination.setPageNum(1);
pagination.setPageSize(Integer.parseInt(env.getProperty("export_limit_num", "30000")));
RpcResponse<List<RecruitmentDemandExportDTO>> response = recruitmentDemandRemote.recruitmentDemandExportData(pagination);
if (response.hasResult()) {
List<RecruitmentDemandExportDTO> data = response.getResult();
if (CollectionUtils.isNotEmpty(data)) {
......
......@@ -13,7 +13,7 @@ public class DictAddRequest extends AbstractRopRequest {
@ApiModelProperty(notes = "业务类型编码,招聘需求模块-recruitment")
private String businessCode;
@ApiModelProperty(notes = "字典类型编码,招聘需求模块下 business_type-业务类型 recruitment_type-招聘类型 character-性格 ability_performance-能力表现 education_level-学历 appearance-形象 position_match_degree-岗位匹配度")
@ApiModelProperty(notes = "字典类型编码,招聘需求模块下 business_type-业务类型 recruitment_type-招聘类型 character-性格 ability_performance-能力表现 education_level-学历 appearance-形象 position_match_degree-岗位匹配度 recruitment_channel-招聘渠道")
private String typeCode;
@ApiModelProperty(notes = "字典类型名称,与字典类型编码对应")
......
......@@ -10,6 +10,9 @@ import lombok.Data;
@Data
public class RecruitmentDemandPageRequest extends CommonPageRequest {
@ApiModelProperty(notes = "数据范围,0全部 1与我相关,必传")
private Integer dataScope;
@ApiModelProperty(notes = "门店名称")
private String merchantName;
......@@ -25,6 +28,9 @@ public class RecruitmentDemandPageRequest extends CommonPageRequest {
@ApiModelProperty(notes = "招聘负责人")
private String recruiterName;
@ApiModelProperty(notes = "所属省市")
private String provinceCity;
@ApiModelProperty(notes = "状态, 0-待人事确认 1-招聘中 2-已完成 3-已驳回")
private Byte status;
......
......@@ -109,5 +109,16 @@ public class RecruitmentOnboardingPlanProcessRequest implements Serializable {
@ApiModelProperty(notes = "岗位匹配度类型名")
private String positionMatchDegreeName;
/**
* 招聘渠道类型值
*/
@ApiModelProperty(notes = "招聘渠道类型值")
private String channelType;
/**
* 招聘渠道类型名
*/
@ApiModelProperty(notes = "招聘渠道类型名")
private String channelName;
}
\ No newline at end of file
......@@ -104,4 +104,22 @@ public class RecruitmentResumeProcessRequest implements Serializable {
@JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
private Date processTime;
/**
* 招聘渠道类型值
*/
@ApiModelProperty(notes = "招聘渠道类型值")
private String channelType;
/**
* 招聘渠道类型名
*/
@ApiModelProperty(notes = "招聘渠道类型名")
private String channelName;
/**
* 推荐理由
*/
@ApiModelProperty(notes = "推荐理由")
private String recommendedReason;
}
\ No newline at end of file
......@@ -132,6 +132,12 @@ public class RecruitmentDemandExportVO {
* 电话
*/
private String phoneNumber;
/**
* 招聘渠道
*/
private String channelName;
/**
* 格式:2025/8/2
*/
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!