📄 main.jsp
字号:
<%@page contentType="text/html;charset=GBK"%>
<%@ page import="com.doone.fj1w.fj1w.order.Tf_ProdOrder"%>
<%@ page import="com.doone.fj1w.fjmgr.order.CommonMethod"%>
<%@ page import="com.doone.fj1w.fjmgr.order.BssReferCustBean"%>
<%@ page import="com.doone.fj1w.fjmgr.order.newphone.FlowsEngie"%>
<%@ page import="com.doone.fj1w.fjmgr.order.newphone.ExtraBssParameter"%>
<%@ page import="com.doone.fj1w.fjmgr.order.Bss_infoEntity.SelectNbrBean"%>
<%@ page import="com.doone.fj1w.fjmgr.order.Bss_infoEntity.BssAddressBean"%>
<%@ page import="com.doone.fj1w.fjmgr.order.Bss_infoEntity.LinkTerminalBean"%>
<%@ page import="com.doone.fj1w.fjmgr.order.Bss_infoEntity.RemoteControlBean"%>
<%@ page import="com.doone.fj1w.fjmgr.order.Bss_infoEntity.PaymentMeasureBean"%>
<%@ page import="com.doone.fj1w.fjmgr.order.Bss_infoEntity.ServicePropertyBean"%>
<html>
<%
request.setCharacterEncoding("GBK");
String web_order = "";//订单流水号
String order_type = "";//工单类型,小灵通,固话等
String oparetion = "";//动作类型
String service_name = "";//服务性质
String order_phone = "";//业务号码
String main_address = "暂无";//主端地址
String extra = "";//物理局向名称
//String extraid = "";//物理局向ID
String src_address = "";//安装地址
String ledger_nbr = "无";//计费号码
String agree_nbr = "无";//合同号码
String remote_item = "";//程控业务名
String terimete = "";//终端设备
String like_man = "";//联系人
String war_man = "";//经办人
String appeal_nbr = "";//申请单号
if(session.getAttribute("TF_BSSENTITY") != null){
//String citycode = (String)session.getAttribute("CUST_CITY_ID");
FlowsEngie _flowEngie = (FlowsEngie)session.getAttribute("TF_BSSENTITY");
Tf_ProdOrder _po = _flowEngie.getTf_prodOrder();
if(_po != null){
like_man = _po.getLinkman();
war_man = _po.getLinkman();
web_order = _po.getWeborder();
order_type = String.valueOf(_po.getProductid());
order_type = CommonMethod.getProductName(order_type);
oparetion = _po.getOperationtype();
oparetion = CommonMethod.getActive(oparetion);
}
//服务性质
if(_flowEngie.getRecordFrom(ExtraBssParameter.NP_SERVICE_TBL)!= null){
ServicePropertyBean _serviPB = new ServicePropertyBean();
try{
_serviPB.parseDataTable(_flowEngie.getRecordFrom(ExtraBssParameter.NP_SERVICE_TBL));
}catch(Exception ex){}
service_name = _serviPB.getSO_BUSINESSiPROD_NAME();
}
//业务号码
if(_flowEngie.getRecordFrom(ExtraBssParameter.NP_ABOUTTELE_TBL)!= null){
SelectNbrBean _selctNbr = new SelectNbrBean();
try{
_selctNbr.parseDataTable(_flowEngie.getRecordFrom(ExtraBssParameter.NP_ABOUTTELE_TBL));
}catch(Exception ex){}
order_phone = _selctNbr.getSERV_NBRiSERV_NBR_NAME();
}
//安装地址
if(_flowEngie.getRecordFrom(ExtraBssParameter.NP_AddRESS_TBL) != null){
BssAddressBean _bab = new BssAddressBean();
try{
_bab.parseDataTable(_flowEngie.getRecordFrom(ExtraBssParameter.NP_AddRESS_TBL));
}catch(Exception ex){}
src_address = _bab.getSO_ACCESSIADDR_NAME();
extra = _bab.getSO_ACCESSiEXCH_NAME();
//extraid = _bab.getSO_ACCESSiEXCH_ID();
}
//计费号码或合同号码
if(_flowEngie.getRecordFrom(ExtraBssParameter.NP_SOLVE_TBL) != null){
PaymentMeasureBean _payMentM = new PaymentMeasureBean();
try{
_payMentM.parseDataTable(_flowEngie.getRecordFrom(
ExtraBssParameter.NP_SOLVE_TBL));
}catch(Exception ex){}
if(_payMentM.getSO_SOLVE_OR_AGREENBR() != null
&& _payMentM.getSO_SOLVE_OR_AGREENBR().equals("1")){
ledger_nbr = _payMentM.getSO_SERV_ACCTiACCT_ID();
}
if(_payMentM.getSO_SOLVE_OR_AGREENBR() != null
&& _payMentM.getSO_SOLVE_OR_AGREENBR().equals("2")){
agree_nbr = _payMentM.getSO_SERV_ACCTiACCT_ID();
}
}
//程控业务名
if(_flowEngie.getRecordIDS(ExtraBssParameter.NP_REMOTE_LENGTH_PT) != null){
int length = 0;
try{
length = Integer.parseInt((String)
_flowEngie.getRecordIDS(ExtraBssParameter.NP_REMOTE_LENGTH_PT));
}catch(Exception ex){length = 0;}
for(int i= 0; i < length ; i++ ){
//获取一条列表数据
if(_flowEngie.getRecordFrom(ExtraBssParameter.NP_REMOTE_TBL+i)!= null){
RemoteControlBean _rcBean = new RemoteControlBean();
try{
_rcBean.parseDataTable(_flowEngie.getRecordFrom(ExtraBssParameter.NP_REMOTE_TBL+i));
}catch(Exception ex){}
remote_item += _rcBean.getSO_NWKiPROD_NAME() +" ";
}
}
}
//终端产品
if(_flowEngie.getRecordFrom(ExtraBssParameter.SELECT_DEVICE_TABLE) != null){
LinkTerminalBean _linkTermi = new LinkTerminalBean();
_linkTermi.parseDataTable(_flowEngie.getRecordFrom(ExtraBssParameter.SELECT_DEVICE_TABLE));
terimete = _linkTermi.getSERV_ACC_TERMiSERV_ID();
}
//申请单号
if(_flowEngie.getRecordIDS(ExtraBssParameter.NP_APPEALRESULT_PT) != null){
try{
String temp = _flowEngie.getRecordIDS(ExtraBssParameter.NP_APPEALRESULT_PT);
appeal_nbr = temp.split("~")[0];
}catch(Exception ex){}
}
}
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../../../common/style/main.css" type="text/css" rel="stylesheet" />
<script language="JavaScript" src="../../../common/script/ChangeStyle.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="../calendar/calendar-blue2.css"/>
<script language="JavaScript" src="../../../common/mainTool.js"></script>
</head>
<body>
<table border="0" width="100%" id="table2">
<tr>
<td valign="top">新申请信息: <br>
==================================================================<br>
工单类型 :<%=order_type%><br>
动作 :<%=oparetion%><br>
服务性质 :<%=service_name%><br>
业务号码 :<%=order_phone%><br>
==================================================================<br>
主端地址 :<%=main_address%><br>
==================================================================<br>
安装地址 :<%=src_address%><br>
局向 :<%=extra%><br>
==================================================================<br>
计费号码付费:<%=ledger_nbr%><br>
合同号码 :<%=agree_nbr%><br>
==================================================================<br>
程控业务 :<br>
新装 :<%=remote_item%> <br>
==================================================================<br>
终端设备 :<%=terimete%><br>
==================================================================<br>
订单流水号:<%=web_order%> <br>
联系人 :<%=like_man%><br>
经办人 :<%=war_man%><br>
==================================================================<br>
申请单号 :<%=appeal_nbr%><br>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -