Commit 2b4d6be4 by 谢海旭

驻店管理:审批

招聘管理:试岗审批
1 parent 50d7ad70
...@@ -242,4 +242,15 @@ public class RecruitmentDemandController { ...@@ -242,4 +242,15 @@ public class RecruitmentDemandController {
RpcResponse<String> response = recruitmentDemandRemote.recruitmentDemandBatchChange(requestDTO); RpcResponse<String> response = recruitmentDemandRemote.recruitmentDemandBatchChange(requestDTO);
return CommonUtil.convertRopResponse(response); return CommonUtil.convertRopResponse(response);
} }
@ApiOperation("审批试岗计划(通过/驳回)")
@ServiceMethod(method = "dj.staff.api.recruitment.trial.onboarding.approval", needInSession = NeedInSessionType.YES)
public RopResponse<RecruitmentTrialOnboarding> trialOnboardingApproval(RecruitmentTrialOnboardingApprovalRequest request) {
String userName = CommonUtil.getLoginUser().getUserName();
RecruitmentTrialOnboardingDTO requestDTO = CommonUtil.convertRequest(RecruitmentTrialOnboardingDTO.class);
requestDTO.setUpdatedBy(userName);
RpcResponse<RecruitmentTrialOnboarding> response = recruitmentDemandRemote.trialOnboardingApproval(requestDTO);
return CommonUtil.convertRopResponse(response);
}
} }
package cn.com.glsx.dj.staff.request.recruitment;
import com.rop.AbstractRopRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* 试岗计划审批请求参数
*/
@Data
public class RecruitmentTrialOnboardingApprovalRequest extends AbstractRopRequest {
@ApiModelProperty(notes = "试岗记录id")
private Integer id;
@ApiModelProperty(notes = "招聘需求id")
private Integer demandId;
@ApiModelProperty(notes = "审批结果,1-通过 0-驳回")
private Integer approvalResult;
@ApiModelProperty(notes = "审批备注,驳回时必填,最多200字")
private String approvalRemark;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!