@SuppressWarnings("unchecked")
 public String execute() {
   Context context = getContext();
   try {
     Context parentContext = context.getParent();
     String flowNo = parentContext.getDataAsStr("flowNo");
     context.put("flowNo", flowNo);
     context.put("tellerCode", tellerCode);
     // 柜员信息查询
     IcopClientManager.callChannelService(context, "CSVRIM000002");
     tellerInfoMap = (Map<String, Object>) context.getDataElement("tellerInfoMap");
     roleList = (List<Map<String, Object>>) tellerInfoMap.get("roleList");
     tellerInfoMap.put(
         "stt",
         ((String) IMJspBeanUtil.getAprShowMsg("IM_USER_STT", (String) tellerInfoMap.get("stt"))));
     tellerInfoMap.put(
         "certType",
         ((String)
             IMJspBeanUtil.getAprShowMsg("PB_CERT_TYPE", (String) tellerInfoMap.get("certType"))));
     roleName = "";
     for (int i = 0; i < roleList.size(); i++) {
       roleName = roleName + (String) roleList.get(i).get("roleName") + "、";
     }
     if (!roleName.equals("")) {
       roleName = roleName.substring(0, roleName.length() - 1);
     }
     return SUCCESS;
   } catch (Exception e) {
     hostErrorMessage = context.getDataAsStr("hostErrorMessage");
     this.handleError(e);
     return ERROR;
   }
 }
  @SuppressWarnings("unchecked")
  public String execute() {
    Context context = getContext();
    /** 获取渠道流水号** */
    Context parentContext = context.getParent();
    Map<String, Object> map = parentContext.getDataMap();
    flowNo = (String) map.get("flowNo");
    context.put("flowNo", flowNo);
    // 操作人员信息
    tellerMap = new HashMap<String, String>();
    Context sessionContext = getSessionContext();
    Map<String, Object> dataMap = sessionContext.getDataMap();
    Map<String, Object> tellerInfoMap = (Map<String, Object>) dataMap.get("imUserMap");
    String tellerCode = (String) tellerInfoMap.get("tellerCode");
    String branchId = (String) tellerInfoMap.get("branchId");
    String serverDate = IMJspBeanUtil.getServerDate(null);
    tellerMap.put("tellerCode", tellerCode);
    tellerMap.put("branchId", branchId);
    tellerMap.put("serverDate", serverDate);
    tellerMap.put("authCode", authCode);

    try {
      if ("3".equals(safeToolSelect)) {
        context.put("cstNo", cstNo);
        context.put("custIdentiType", "1");
        /*context.put("safeToolSelect", safeToolSelect);*/
        context.put("newTokenNo", newTokenNo);
        context.put("tellerCode", tellerCode);
        context.put("branchId", branchId);
        context.put("AUTH_NO_NEED", "1");

        IcopClientManager.callChannelService(context, "PSVR000128"); // 安全工具换发
        activeCode = context.getDataAsStr("activeCode");
        tokenName = IMJspBeanUtil.getAprShowMsg("IM_SAFE_TOOL", safeToolSelect);
      } else if ("4".equals(safeToolSelect)) {
        context.put("appCode", "301");
        context.put("cstNo", cstNo);
        context.put("custIdentiType", "1");
        context.put("originalCertOrderNo", serialNo);
        context.put("originalIssuer", issUer);
        context.put("keyId", usbNo);
        context.put("tellerCode", tellerCode);
        context.put("branchId", branchId);
        context.put("AUTH_NO_NEED", "1");
        IcopClientManager.callChannelService(context, "PSVR000165"); // 换Key
        usbNoName = IMJspBeanUtil.getAprShowMsg("IM_SAFE_TOOL", safeToolSelect);
        certDN = context.getDataAsStr("certDN");
      }
      // 转义,用于打印
      cstInfo.put("certTypeTxt", IMJspBeanUtil.getAprShowMsg("PB_CERT_TYPE", certType));
    } catch (Exception e) {
      hostErrorMessage = context.getDataAsStr("hostErrorMessage");
      return ERROR;
    }
    return SUCCESS;
  }
 public String execute() {
   Context context = getContext();
   Context parentContext = context.getParent();
   String flowNo = parentContext.getDataAsStr("flowNo");
   context.put("flowNo", flowNo);
   try {
     context.put("feeChannel", feeChannel);
     context.put("cstLevel", cstLevel);
     context.put("pageNo", pageNo);
     context.put("pageSize", AppConstants.PAGESIZE_TEN);
     IcopClientManager.callChannelService(context, "CSVRIM000230");
     feeItemList = (List<Map<String, Object>>) context.getDataElement("feeItemList");
     if (null != feeItemList && feeItemList.size() > 0) {
       for (int i = 0; i < feeItemList.size(); i++) {
         feeItemList
             .get(i)
             .put(
                 "feeChannelText",
                 IMJspBeanUtil.getAprShowMsg(
                     "GATHERING_CHANNEL", (String) feeItemList.get(i).get("feeChannel")));
         feeItemList
             .get(i)
             .put(
                 "cstLevelText",
                 IMJspBeanUtil.getAprShowMsg(
                     "PBCST_TYPE", (String) feeItemList.get(i).get("cstLevel")));
       }
     }
     totalNo = context.getDataAsStr("totalNo");
     totalPage = Integer.decode(context.getDataAsStr("totalPage"));
   } catch (Exception ex) {
     this.handleError(ex);
     hostErrorMessage = context.getDataAsStr("hostErrorMessage");
   }
   return SUCCESS;
 }
  public String execute() throws Exception {

    String[] split = role.split("-");
    for (int i = 0; i < split.length; i++) {
      String[] split2 = split[i].split("_");
      Map<String, Object> hmap = new HashMap<String, Object>();
      hmap.put("functionId", split2[0]);
      hmap.put("functionName", split2[1]);
      hmap.put("isFunction", split2[2]);
      hmap.put("authModeId", split2[3]);
      functionList.add(hmap);
    }

    // 操作人员信息
    tellerMap = new HashMap<String, String>();
    Context sessionContext = getSessionContext();
    Map<String, Object> dataMap = sessionContext.getDataMap();
    Map<String, Object> tellerInfoMap = (Map<String, Object>) dataMap.get("imUserMap");
    String tellerCode = (String) tellerInfoMap.get("tellerCode");
    String branchId = (String) tellerInfoMap.get("branchId");
    String serverDate = IMJspBeanUtil.getServerDate(null);
    tellerMap.put("tellerCode", tellerCode);
    tellerMap.put("branchId", branchId);
    tellerMap.put("serverDate", serverDate);

    Context context = getContext();

    try {
      Context parent = context.getParent();
      flowNo = parent.getDataAsStr("flowNo");
      context.put("flowNo", flowNo);
      context.put("cstNo", cstNo);
      context.put("functionList", functionList);
      IcopClientManager.callChannelService(context, "CSVRIM0000211"); // 企业网银开通功能列表维护

    } catch (Exception e) {
      this.handleError(e);
      hostErrorMessage = context.getDataAsStr("hostErrorMessage");
      return ERROR;
    }
    return SUCCESS;
  }
  public String execute() throws Exception {
    Context context = getContext();
    try {
      opType = "1";
      // context.put("verificationCode", "");
      /** 获取渠道流水号** */
      Context parentContext = context.getParent();
      flowNo = parentContext.getDataAsStr("flowNo");
      context.put("flowNo", flowNo);
      context.put("opType", opType);
      // 操作人员信息
      tellerMap = new HashMap<String, String>();
      Context sessionContext = getSessionContext();
      Map<String, Object> dataMap = sessionContext.getDataMap();
      Map<String, Object> tellerInfoMap = (Map<String, Object>) dataMap.get("imUserMap");
      String tellerCode = (String) tellerInfoMap.get("tellerCode");
      String branchId = (String) tellerInfoMap.get("branchId");
      String serverDate = IMJspBeanUtil.getServerDate(null);
      tellerMap.put("tellerCode", tellerCode);
      tellerMap.put("branchId", branchId);
      tellerMap.put("serverDate", serverDate);

      // 调用服务
      context.put("custIdentiType", "1"); // 客户类型
      context.put("cstNo", cstNo); // 客户号
      if (pwdType.equals("EB")) {
        pwdType = "30201";
      } else if (pwdType.equals("MB")) {
        pwdType = "30501";
      }
      context.put("passwordType", pwdType); // 密码类型
      context.put("passwordValue", logonPwd); // 新登录密码
      context.put("randomNumber", random16); // 16位随机数
      context.put("isNeedModify", "1"); // 第一次验证后是否修改密码
      IcopClientManager.callChannelService(context, "PSVR000118");
      // 查询客户信息
      IcopClientManager.callChannelService(context, "CSVRIM000022");
      cstInfo = (Map<String, Object>) context.getDataElement("customerMap");
      cstInfo.put(
          "certTypeTxt",
          IMJspBeanUtil.getAprShowMsg("PB_CERT_TYPE", (String) cstInfo.get("certType")));
      cstInfo.put(
          "custLevelTxt",
          IMJspBeanUtil.getAprShowMsg("CUST_LEVEL", (String) cstInfo.get("custLevel")));
      if (pwdType.equals("30201")) {
        pwdType = "个人网银登录密码";
      } else if (pwdType.equals("30501")) {
        pwdType = "手机银行登录密码";
      }
      cstInfo.put("pwdType", pwdType);

      //			cstInfo.put("certTypeTxt", IMJspBeanUtil.getAprShowMsg("PB_CERT_TYPE", certType));
      //			cstInfo.put("custLevelTxt", IMJspBeanUtil.getAprShowMsg("CUST_LEVEL", custLevel));
      // action公共部分,opType、targetSvrCode要根据不同交易,手动赋指定值
      // opType="0";//操作类型,要传给授权完成任务操作:0:添加/更新 1:删除
      taskId = context.getDataAsStr("taskId");
      authType = context.getDataAsStr("authType");
      authMode = context.getDataAsStr("authMode");
      authFlag = context.getDataAsStr("authFlag");
      authDetailUrl = context.getDataAsStr("authDetailUrl");
      targetSvrCode = "PSVR000118";
    } catch (Exception e) {
      this.handleError(e);
      hostErrorMessage = context.getDataAsStr("hostErrorMessage");
      return ERROR;
    }
    return SUCCESS;
  }