From 70b3bad760cfa02d76a27fd371991cd025de0a91 Mon Sep 17 00:00:00 2001 From: dxfeng Date: Mon, 13 Nov 2023 15:21:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=AE=80=E5=8E=86=EF=BC=8C?= =?UTF-8?q?=E9=87=8D=E5=A4=8D=E7=AE=80=E5=8E=86=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../applicant/AddApplicantModeExpand.java | 52 ------------------- 1 file changed, 52 deletions(-) delete mode 100644 src/weaver/formmode/recruit/modeexpand/applicant/AddApplicantModeExpand.java 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; - } -}