面试相关修改
This commit is contained in:
@@ -0,0 +1,23 @@
|
|||||||
|
package com.cool.store.request;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Author: young.yu
|
||||||
|
* @Date: 2023-06-19 15:31
|
||||||
|
* @Description:
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel(description = "重新面试")
|
||||||
|
public class ReInterviewReq {
|
||||||
|
@ApiModelProperty(value = "会议安排ID", required = true, example = "12345")
|
||||||
|
private String interviewPlanId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "重新面试原因", required = true, example = "候选人前次面试未通过")
|
||||||
|
private String reason;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "证明文件地址(多个文件英文逗号隔开)", example = "https://example.com/file1.pdf,https://example.com/file2.pdf")
|
||||||
|
private String certifyFile;
|
||||||
|
}
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
package com.cool.store.request;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel(description = "拒绝面试")
|
||||||
|
public class RejectInterviewReq {
|
||||||
|
@ApiModelProperty(value = "会议安排ID", required = true, example = "12345")
|
||||||
|
private String interviewPlanId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "线索ID", required = true, example = "67890")
|
||||||
|
private String lineId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "会议ID", required = true, example = "54321")
|
||||||
|
private String interviewId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "公开拒绝原因", required = true, example = "候选人不符合岗位要求")
|
||||||
|
private String rejectPublicReason;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "真实拒绝原因", required = true, example = "候选人技术能力不足")
|
||||||
|
private String rejectRealReason;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "证明文件地址(多个文件英文逗号隔开)", example = "https://example.com/file1.pdf,https://example.com/file2.pdf")
|
||||||
|
private String certifyFile;
|
||||||
|
|
||||||
|
}
|
||||||
@@ -62,4 +62,6 @@ public interface InterviewService {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
void approveAppointment(ApproveAppointmentReq request) throws ApiException;
|
void approveAppointment(ApproveAppointmentReq request) throws ApiException;
|
||||||
|
void reInterview(ReInterviewReq request) throws ApiException;
|
||||||
|
void rejectInterview(RejectInterviewReq request) throws ApiException;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -279,6 +279,16 @@ public class InterviewServiceImpl implements InterviewService {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void reInterview(ReInterviewReq request) throws ApiException {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void rejectInterview(RejectInterviewReq request) throws ApiException {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public String generateFeiShuInterviewMsg(String partnerName, String partnerMobile, String interviewTime){
|
public String generateFeiShuInterviewMsg(String partnerName, String partnerMobile, String interviewTime){
|
||||||
//"您有一个【面试预约申请】待处理,预约人【姓名】手机号【13xxxxxxxxx】,预约面试时间【YYYY年MM月DD日 hh:mm】,请及时处理】"
|
//"您有一个【面试预约申请】待处理,预约人【姓名】手机号【13xxxxxxxxx】,预约面试时间【YYYY年MM月DD日 hh:mm】,请及时处理】"
|
||||||
StringBuffer sb = new StringBuffer();
|
StringBuffer sb = new StringBuffer();
|
||||||
|
|||||||
@@ -80,4 +80,18 @@ public class InterviewController {
|
|||||||
interviewService.approveAppointment(request);
|
interviewService.approveAppointment(request);
|
||||||
return ResponseResult.success();
|
return ResponseResult.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@PostMapping("/reInterview")
|
||||||
|
@ApiOperation("重新面试")
|
||||||
|
public ResponseResult reInterview(@RequestBody ReInterviewReq request) throws ApiException {
|
||||||
|
interviewService.reInterview(request);
|
||||||
|
return ResponseResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
@PostMapping("/reject")
|
||||||
|
@ApiOperation("拒绝面试")
|
||||||
|
public ResponseResult reInterview(@RequestBody RejectInterviewReq request) throws ApiException {
|
||||||
|
interviewService.rejectInterview(request);
|
||||||
|
return ResponseResult.success();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user