diff --git a/src/weaver/formmode/recruit/modeexpand/applicant/AddApplicantModeExpand.java b/src/weaver/formmode/recruit/modeexpand/applicant/AddApplicantModeExpand.java deleted file mode 100644 index 3653b10..0000000 --- a/src/weaver/formmode/recruit/modeexpand/applicant/AddApplicantModeExpand.java +++ /dev/null @@ -1,52 +0,0 @@ -package weaver.formmode.recruit.modeexpand.applicant; - -import com.engine.recruit.conn.RecruitDataMap; -import com.engine.recruit.exception.CustomizeRunTimeException; -import weaver.formmode.customjavacode.AbstractModeExpandJavaCodeNew; -import weaver.general.Util; -import weaver.soa.workflow.request.MainTableInfo; -import weaver.soa.workflow.request.Property; -import weaver.soa.workflow.request.RequestInfo; - -import java.util.HashMap; -import java.util.Map; - -/** - * @author:dxfeng - * @createTime: 2023/11/13 - * @version: 1.0 - */ -public class AddApplicantModeExpand extends AbstractModeExpandJavaCodeNew { - @Override - public Map doModeExpand(Map param) { - Map result = new HashMap<>(); - try { - int billId; - int modeId; - RequestInfo requestInfo = (RequestInfo) param.get("RequestInfo"); - if (requestInfo != null) { - billId = Util.getIntValue(requestInfo.getRequestid()); - modeId = Util.getIntValue(requestInfo.getWorkflowid()); - if (billId > 0 && modeId > 0) { - Map dataMap = new RecruitDataMap<>(); - MainTableInfo mainTableInfo = requestInfo.getMainTableInfo(); - Property[] properties = mainTableInfo.getProperty(); - for (Property property : properties) { - dataMap.put(property.getName(), property.getValue()); - } - - String name = Util.null2String(param.get("xm")); - String mobile = Util.null2String(param.get("sjhm")); - String status = Util.null2String(param.get("zt")); - String positionId = Util.null2String(param.get("ypzw")); - }else{ - throw new CustomizeRunTimeException("新增失败"); - } - } - } catch (Exception e) { - result.put("errmsg", "完成需求操作失败"); - result.put("flag", "false"); - } - return result; - } -}