RecruitBusiness.java 2.94 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
package cn.timer.api.utils.router.business;

import org.springframework.stereotype.Service;

import cn.hutool.core.convert.Convert;
import cn.hutool.core.util.ObjectUtil;
import cn.hutool.json.JSONObject;
import cn.timer.api.dto.spmk.FromData;
import lombok.Builder;

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

	@Override
	public void handleApprove(JSONObject jsonObj) {
		// TODO Auto-generated method stub
		// 发起人企业id
		Integer orgCode = ObjectUtil.isNull(jsonObj.get("orgCode")) ? null : Convert.toInt(jsonObj.get("orgCode"));
		// 发起人id
		Integer id = jsonObj.getInt("id");
		
		// 招聘部门
		String RecruitmentDept = ObjectUtil.isNull(jsonObj.get("__RecruitmentDept",FromData.class)) ? null : jsonObj.get("__RecruitmentDept",FromData.class).getValue();
		// 招聘职位
		String RecruitmentPost = ObjectUtil.isNull(jsonObj.get("__RecruitmentPost",FromData.class)) ? null : jsonObj.get("__RecruitmentPost",FromData.class).getValue();
		// 工性性质
		String WorkingNature = ObjectUtil.isNull(jsonObj.get("__WorkingNature",FromData.class)) ? null : jsonObj.get("__WorkingNature",FromData.class).getValue();
		// 招聘人数
		String NumberOfRecruiters = ObjectUtil.isNull(jsonObj.get("__NumberOfRecruiters",FromData.class)) ? null : jsonObj.get("__NumberOfRecruiters",FromData.class).getValue();
		// 已在岗人数
		String NumberOfPeople = ObjectUtil.isNull(jsonObj.get("NumberOfPeople",FromData.class)) ? null : jsonObj.get("NumberOfPeople",FromData.class).getValue();
		// 招聘原因
		String RecruitmentReasons = ObjectUtil.isNull(jsonObj.get("RecruitmentReasons",FromData.class)) ? null : jsonObj.get("RecruitmentReasons",FromData.class).getValue();
		// 该岗位工作职责
		String operatingDuty = ObjectUtil.isNull(jsonObj.get("operatingDuty",FromData.class)) ? null : jsonObj.get("operatingDuty",FromData.class).getValue();
		// 招聘要求
		String RecruitmentRequirements = ObjectUtil.isNull(jsonObj.get("RecruitmentRequirements",FromData.class)) ? null : jsonObj.get("RecruitmentRequirements",FromData.class).getValue();
		// 薪酬上限
		String SalaryCap = ObjectUtil.isNull(jsonObj.get("SalaryCap",FromData.class)) ? null : jsonObj.get("SalaryCap",FromData.class).getValue();
		// 薪酬下限
		String TransferInDepartment = ObjectUtil.isNull(jsonObj.get("TransferInDepartment",FromData.class)) ? null : jsonObj.get("TransferInDepartment",FromData.class).getValue();
		// 生效日期
		String PayFloor = ObjectUtil.isNull(jsonObj.get("PayFloor",FromData.class)) ? null : jsonObj.get("PayFloor",FromData.class).getValue();
		// 备注
		String Remarks = ObjectUtil.isNull(jsonObj.get("Remarks",FromData.class)) ? null : jsonObj.get("Remarks",FromData.class).getValue();
		// 上传文件
		String UploadAttachment = ObjectUtil.isNull(jsonObj.get("UploadAttachment",FromData.class)) ? null : jsonObj.get("UploadAttachment",FromData.class).getValue();
		
		// 调 招聘管理 业务

	}

}