面试/面谈
This commit is contained in:
@@ -5,22 +5,18 @@ package com.cool.store.enums;
|
||||
* @Date: 2023-06-13 20:22
|
||||
* @Description: 面试状态枚举
|
||||
*/
|
||||
public enum InteviewStatusEnum {
|
||||
public enum InterviewStatusEnum {
|
||||
WAIT_APPOINTMENT(0, "待预约"),
|
||||
|
||||
WAIT_APPOINTMENT_TIME_CONFIRM(1, "面试时间待审核"),
|
||||
WAIT_INTERVIEW(2, "待面试"),
|
||||
INTERVIEWING(3, "已开始"),
|
||||
WAIT_AUDIT(4, "待审核"),
|
||||
AUDITING(5, "审批中"),
|
||||
AUDIT_PASS(6, "审批通过"),
|
||||
REFUSE(7, "拒绝");
|
||||
WAIT_INTERVIEW(1, "待面试"),
|
||||
WAIT_AUDIT(2, "待审核"),
|
||||
PASS(3, "审批通过"),
|
||||
NOT_PASS(4, "不通过");
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String message;
|
||||
|
||||
InteviewStatusEnum(Integer code, String message) {
|
||||
InterviewStatusEnum(Integer code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
@@ -10,22 +10,31 @@ public enum WorkflowSubStageEnum{
|
||||
/**
|
||||
* 流程子阶段枚举
|
||||
*/
|
||||
INTEND(1, "加盟意向申请"),
|
||||
INVITING_INTERVIEWS(5, "邀约面谈"),
|
||||
FIRST_INTERVIEWS(10, "一审面试"),
|
||||
PAY_DEPOSIT(15, "缴纳意向金"),
|
||||
SIGN_INTENT_AGREEMENT(20, "签署意向协议"),
|
||||
STORE_EXPERIENCE(25, "门店体验"),
|
||||
SECOND_INTERVIEWS(30, "二审面试");
|
||||
INTEND(1, "加盟意向申请", 5, WorkflowSubStageStatusEnum.INVITING_INTERVIEWS_10,null),
|
||||
INVITING_INTERVIEWS(5, "邀约面谈", 10, WorkflowSubStageStatusEnum.FIRST_INTERVIEWS_25, "lineInterviewServiceImpl"),
|
||||
FIRST_INTERVIEWS(10, "一审面试", 15, WorkflowSubStageStatusEnum.PAY_DEPOSIT_45, "lineInterviewServiceImpl"),
|
||||
PAY_DEPOSIT(15, "缴纳意向金", 20, WorkflowSubStageStatusEnum.SIGN_INTENT_AGREEMENT_60, null),
|
||||
SIGN_INTENT_AGREEMENT(20, "签署意向协议", 25, WorkflowSubStageStatusEnum.STORE_EXPERIENCE_85, null),
|
||||
STORE_EXPERIENCE(25, "门店体验", 30, WorkflowSubStageStatusEnum.SECOND_INTERVIEWS_100, null),
|
||||
SECOND_INTERVIEWS(30, "二审面试", null, null, "lineInterviewServiceImpl");
|
||||
|
||||
|
||||
private Integer code;
|
||||
|
||||
private String message;
|
||||
|
||||
WorkflowSubStageEnum(Integer code, String message) {
|
||||
private Integer nextCode;
|
||||
|
||||
private WorkflowSubStageStatusEnum nextDefaultStatus;
|
||||
|
||||
private String clazz;
|
||||
|
||||
WorkflowSubStageEnum(Integer code, String message, Integer nextCode, WorkflowSubStageStatusEnum nextDefaultStatus, String clazz) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
this.nextCode = nextCode;
|
||||
this.nextDefaultStatus= nextDefaultStatus;
|
||||
this.clazz = clazz;
|
||||
}
|
||||
|
||||
|
||||
@@ -37,4 +46,24 @@ public enum WorkflowSubStageEnum{
|
||||
return message;
|
||||
}
|
||||
|
||||
public Integer getNextCode() {
|
||||
return nextCode;
|
||||
}
|
||||
|
||||
public String getClazz() {
|
||||
return clazz;
|
||||
}
|
||||
|
||||
public WorkflowSubStageStatusEnum getNextDefaultStatus() {
|
||||
return nextDefaultStatus;
|
||||
}
|
||||
|
||||
public static WorkflowSubStageEnum getWorkflowSubStageEnum(Integer workflowSubStage) {
|
||||
for (WorkflowSubStageEnum workflowSubStageEnum : WorkflowSubStageEnum.values()) {
|
||||
if (workflowSubStageEnum.getCode().equals(workflowSubStage)) {
|
||||
return workflowSubStageEnum;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user