<%@ page import="com.hisun.mvqq.bean.*"%>
<%@ page import="java.util.*"%>
<%@ page import="java.math.*"%>
<%@ page import="java.lang.*,com.hisun.res.Config"%>
<%@include file="/jsp/validate/validate.jsp"%>
<%
String AAADBUser = Config.getProperty("AAADBUSER");
//MaxTime maxtime=new MaxTime();
// String MTime=maxtime.Max_Time("ACA_BUSIDETAIL_LATN_HOUR");
//if(MTime!=null && MTime.length()>8)
// MTime=MTime.substring(0,4)+"-"+MTime.substring(4,6)+"-"+MTime.substring(6,8)+" "+MTime.substring(8,10)+"时";
//if(MTime!=null)
// MTime=MTime+"时";
%>
<%
String sp_ID=userInfo.getSpCode();
String sp_name=userInfo.getSpName();
String cStatUserName=userInfo.getUserName();
String querytype=request.getParameter("querytype");//以sp还是以接入号方式查询
String prefixtype=request.getParameter("prefixtype"); //以号段方式还是多个业务方式
String qprefix=request.getParameter("prefix"); //输入一个或多个接入号
String prefixstart=request.getParameter("prefixstart"); //开始接入号
String prefixend=request.getParameter("prefixend"); //结束接入号
String cTable=sp_name;
String spID=request.getParameter("sp");
String busType=request.getParameter("busType");
String callType=request.getParameter("callType");
String statType=request.getParameter("statType");
String userType=request.getParameter("userType");
String sYear=request.getParameter("sYear");
String sMonth=request.getParameter("sMonth");
String sDay=request.getParameter("sDay");
String sHour=request.getParameter("sHour") ;
String sDate=sYear+"-"+sMonth+"-"+sDay+" "+sHour;
//System.out.println(sDate);
spStatDate sD=new spStatDate();
//sDate=sD.resDate(sDate);
String eYear=request.getParameter("eYear");
String eMonth=request.getParameter("eMonth");
String eDay=request.getParameter("eDay");
String eHour=request.getParameter("eHour");
String eDate=eYear+"-"+eMonth+"-"+eDay+" "+eHour;
String durl="";
//eDate=sD.resDate(eDate);
// System.out.print(eDate);
Vector statData=new Vector();
Vector statClass=new Vector();
try{
spStatMete stat=new spStatMete();
String prefixStr="";
if (prefixtype.equals("0"))
prefixStr=qprefix;
else
prefixStr=prefixstart+","+prefixend;
if (querytype.equals("1")){
statData=stat.statMete(querytype,spID,busType,callType,statType,userType,sDate,eDate,userInfo.getLoginNo(),userInfo.getIpAddress());
durl="stYeWuLiang_ShengFen.jsp?querytype="+querytype+"&sp="+spID+"&serid="+busType+"&callType="+callType+"&statType="+statType+"&userType="+userType;
durl=durl+"&sYear="+sYear+"&sMonth="+sMonth+"&sDay="+sDay+"&sHour="+sHour;
durl=durl+"&eYear="+eYear+"&eMonth="+eMonth+"&eDay="+eDay+"&eHour="+eHour;
}
else{
statData=stat.statMete(querytype,prefixtype,prefixStr,callType,statType,userType,sDate,eDate,userInfo.getLoginNo(),userInfo.getIpAddress());
durl="stYeWuLiang_ShengFen.jsp?querytype="+querytype+"&sp="+prefixtype+"&serid="+prefixStr+"&callType="+callType+"&statType="+statType+"&userType="+userType;
durl=durl+"&sYear="+sYear+"&sMonth="+sMonth+"&sDay="+sDay+"&sHour="+sHour;
durl=durl+"&eYear="+eYear+"&eMonth="+eMonth+"&eDay="+eDay+"&eHour="+eHour;
}
statClass=stat.statMeteClass(spID,busType,callType,statType,userType,sDate,eDate,userInfo.getLoginNo(),userInfo.getIpAddress());
//out.println(busType);
if(sp_ID.equals("0001")){
sp_name=stat.sp_Name(spID);
}
}catch(Exception e){
e.printStackTrace();
}
GregorianCalendar createTime = new GregorianCalendar();
%>
|
|||
|
|||