ResignationBusiness.java 1.13 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
package cn.timer.api.utils.router.business;

import cn.hutool.json.JSONObject;
import cn.timer.api.dto.spmk.FromData;
import lombok.Builder;

/**
 * 离职-业务
 * @author Tang
 *
 */
@Builder
public class ResignationBusiness extends SpmkAssoBusiness {

	@Override
	public void handleApprove(JSONObject jsonObj) {
		// TODO Auto-generated method stub
		// 发起人企业id
		String orgCode = jsonObj.get("orgCode",FromData.class).getValue();
		// 发起人id
		String id = jsonObj.get("id",FromData.class).getValue();
		// 发起人名称
		String initiator = jsonObj.get("initiator",FromData.class).getValue();
		
		// 申请人
		String applicant = jsonObj.get("__applicant",FromData.class).getValue();
		// 计划离职日期
		String terminationDate = jsonObj.get("__terminationDate",FromData.class).getValue();
		// 离职原因
		String ReasonForResignation = jsonObj.get("__ReasonForResignation",FromData.class).getValue();
		// 备注
		String Remarks = jsonObj.get("Remarks",FromData.class).getValue();
		// 上传文件
		String UploadAttachment = jsonObj.get("UploadAttachment",FromData.class).getValue();
		
		// 调 员工管理 业务
	}

}