RecruitBusiness.java 3.12 KB
Newer Older
1 2
package cn.timer.api.utils.router.business;

3
import cn.hutool.core.util.ObjectUtil;
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
import cn.hutool.json.JSONObject;
import cn.timer.api.dto.spmk.FromData;
import lombok.Builder;

/**
 * 招聘-业务
 * 
 * @author Tang
 *
 */
@Builder
public class RecruitBusiness extends SpmkAssoBusiness {

	@Override
	public void handleApprove(JSONObject jsonObj) {
		// TODO Auto-generated method stub
		// 发起人企业id
21
		String orgCode = ObjectUtil.isNull(jsonObj.get("orgCode",FromData.class)) ? null : jsonObj.get("orgCode",FromData.class).getValue();
22
		// 发起人id
23
		String id = ObjectUtil.isNull(jsonObj.get("id",FromData.class)) ? null : jsonObj.get("id",FromData.class).getValue();
24
		// 发起人名称
25
		String initiator = ObjectUtil.isNull(jsonObj.get("initiator",FromData.class)) ? null : jsonObj.get("initiator",FromData.class).getValue();
26 27
		
		// 招聘部门
28
		String RecruitmentDept = ObjectUtil.isNull(jsonObj.get("__RecruitmentDept",FromData.class)) ? null : jsonObj.get("__RecruitmentDept",FromData.class).getValue();
29
		// 招聘职位
30
		String RecruitmentPost = ObjectUtil.isNull(jsonObj.get("__RecruitmentPost",FromData.class)) ? null : jsonObj.get("__RecruitmentPost",FromData.class).getValue();
31
		// 工性性质
32
		String WorkingNature = ObjectUtil.isNull(jsonObj.get("__WorkingNature",FromData.class)) ? null : jsonObj.get("__WorkingNature",FromData.class).getValue();
33
		// 招聘人数
34
		String NumberOfRecruiters = ObjectUtil.isNull(jsonObj.get("__NumberOfRecruiters",FromData.class)) ? null : jsonObj.get("__NumberOfRecruiters",FromData.class).getValue();
35
		// 已在岗人数
36
		String NumberOfPeople = ObjectUtil.isNull(jsonObj.get("NumberOfPeople",FromData.class)) ? null : jsonObj.get("NumberOfPeople",FromData.class).getValue();
37
		// 招聘原因
38
		String RecruitmentReasons = ObjectUtil.isNull(jsonObj.get("RecruitmentReasons",FromData.class)) ? null : jsonObj.get("RecruitmentReasons",FromData.class).getValue();
39
		// 该岗位工作职责
40
		String operatingDuty = ObjectUtil.isNull(jsonObj.get("operatingDuty",FromData.class)) ? null : jsonObj.get("operatingDuty",FromData.class).getValue();
41
		// 招聘要求
42
		String RecruitmentRequirements = ObjectUtil.isNull(jsonObj.get("RecruitmentRequirements",FromData.class)) ? null : jsonObj.get("RecruitmentRequirements",FromData.class).getValue();
43
		// 薪酬上限
44
		String SalaryCap = ObjectUtil.isNull(jsonObj.get("SalaryCap",FromData.class)) ? null : jsonObj.get("SalaryCap",FromData.class).getValue();
45
		// 薪酬下限
46
		String TransferInDepartment = ObjectUtil.isNull(jsonObj.get("TransferInDepartment",FromData.class)) ? null : jsonObj.get("TransferInDepartment",FromData.class).getValue();
47
		// 生效日期
48
		String PayFloor = ObjectUtil.isNull(jsonObj.get("PayFloor",FromData.class)) ? null : jsonObj.get("PayFloor",FromData.class).getValue();
49
		// 备注
50
		String Remarks = ObjectUtil.isNull(jsonObj.get("Remarks",FromData.class)) ? null : jsonObj.get("Remarks",FromData.class).getValue();
51
		// 上传文件
52
		String UploadAttachment = ObjectUtil.isNull(jsonObj.get("UploadAttachment",FromData.class)) ? null : jsonObj.get("UploadAttachment",FromData.class).getValue();
53 54 55 56 57 58
		
		// 调 招聘管理 业务

	}

}