⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 new_cust_mess_trans.jsp

📁 电信的网厅的整站代码
💻 JSP
字号:
<%@page contentType="text/html;charset=GBK"%>

<%@ page import="com.doone.fj1w.fjmgr.order.BssInter1"%>
<%@ page import="com.doone.fj1w.fjmgr.order.CommonMethod"%>
<%@ page import="com.doone.fj1w.fjmgr.order.BssParameter"%>
<%@ page import="com.doone.fj1w.fjmgr.order.BssReferCustBean"%>
<%@ page import="com.doone.fj1w.fjmgr.order.newphone.FlowsEngie"%>
<%@ page import="com.doone.fj1w.fjmgr.order.list.BssSreachCustImpl"%>
<%@ page import="com.doone.fj1w.fjmgr.order.newphone.ExtraBssParameter"%>

<%
  /**新增客户信息*/
  request.setCharacterEncoding("GBK");
  String citycode = (String)session.getAttribute("CUST_CITY_ID");
  BssReferCustBean _brCB = new BssReferCustBean();
  _brCB.setCUSTiAREA_ID(CommonMethod.formatString(request.getParameter("AREACODE")));
  _brCB.setCUSTiVIP(CommonMethod.formatString(request.getParameter("CUSTiVIP")));
  _brCB.setCUSTiCUST_NAME(CommonMethod.formatString(request.getParameter("CUSTiCUST_NAME")));
  _brCB.setCUSTiCUST_SIMP_NAME(CommonMethod.formatString(request.getParameter("CUSTiCUST_SIMP_NAME")));
  _brCB.setCUSTiCUST_GRADE_ID(CommonMethod.formatString(request.getParameter("CUSTiCUST_GRADE_ID")));
  _brCB.setCUSTiCUST_KIND_ID(CommonMethod.formatString(request.getParameter("CUSTiCUST_KIND_ID")));
  _brCB.setCUSTiSECRE_GRADE_ID(CommonMethod.formatString(request.getParameter("CUSTiSECRE_GRADE_ID")));
  _brCB.setCUSTiCREDIT_GRADE_ID(CommonMethod.formatString(request.getParameter("CUSTiCREDIT_GRADE_ID")));
  _brCB.setCUSTiINDUS_CAT_ID(CommonMethod.formatString(request.getParameter("CUSTiINDUS_CAT_ID")));
  _brCB.setCUST_CONTEXTiCONTEXT_ID(CommonMethod.formatString(request.getParameter("CUST_CONTEXTiCONTEXT_ID"))); 
  _brCB.setCUSTiCERT_TYPE(CommonMethod.formatString(request.getParameter("CUSTiCERT_TYPE")));
  _brCB.setCUSTiCERT_NBR(CommonMethod.formatString(request.getParameter("CUSTiCERT_NBR")));
  _brCB.setCUSTiCERT_ADDR(CommonMethod.formatString(request.getParameter("CUSTiCERT_ADDR")));  
  _brCB.setCUSTiMAIL_ADDR(CommonMethod.formatString(request.getParameter("CUSTiMAIL_ADDR")));
  _brCB.setCUSTiADDRESS_ID(CommonMethod.formatString(request.getParameter("CUSTiADDRESS_ID")));
  _brCB.setCORP_CONTACTiNAME(CommonMethod.formatString(request.getParameter("CUSTiCUST_NAME")));
  
  String outparam = null;   
  try{      
    outparam = BssSreachCustImpl.addCustomer(_brCB,citycode); 
  }catch(RuntimeException rux){}
  
  if(outparam == null || outparam.equals("")) 
  {
     %>
      alert("新增客户资料失败,请重新添加。");
     <%
     return;
  }   
  
  try{
    String outTemp[] = outparam.split("#");
    _brCB.setCUSTiCUST_ID(outTemp[0]);
    _brCB.setCUSTiCUST_CODE(outTemp[1]);
    _brCB.setCITYCODE(citycode);

    FlowsEngie _flowEngie =(FlowsEngie)session.getAttribute("TF_BSSENTITY");
    _flowEngie.setRecordFrom(_brCB.toFormBody().toDataTable(),
                            BssParameter.CUST_PATIC_TABLE);
    _flowEngie.setStepSN(ExtraBssParameter.STEP_1);
    _flowEngie.save();
    
    _flowEngie.setbssCustMess(_brCB);
    //存入客户信息
    session.setAttribute("TF_BSSENTITY",_flowEngie);  
    %>
      parent.fuc_event_refresh();
      alert("恭喜您客户信息添加成功,请续继受理。");
      window.location.href = "select_address.jsp";
    <%  
  }catch(ArrayIndexOutOfBoundsException arrayx){
    %>
      alert("异常:<%=arrayx.getMessage()%>");
    <%  
  }
%>
  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -