Commit 32faad49 authored by liuna's avatar liuna

2018年2月2日 --智能分析平台

--实体厅流量监测:页面性能调整
parent cb34f901
......@@ -8,7 +8,12 @@
<component name="ChangeListManager">
<list default="true" readonly="true" id="729f43c8-1bb9-40d5-9567-47c5307fe3f5" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowAccountDao.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowAccountDao.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowBrowserDao.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowBrowserDao.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowClientDao.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowClientDao.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowHallBusinessDao.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowHallBusinessDao.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowMonitorCatonDao.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowMonitorCatonDao.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowMonitorDao.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowMonitorDao.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/FlowMonitorController.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/FlowMonitorController.java" />
</list>
<ignored path="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/" />
......@@ -39,86 +44,103 @@
<file leaf-file-name="FlowMonitorController.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/FlowMonitorController.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="221">
<caret line="214" column="45" lean-forward="false" selection-start-line="214" selection-start-column="45" selection-end-line="214" selection-end-column="45" />
<state relative-caret-position="1848">
<caret line="132" column="51" lean-forward="false" selection-start-line="132" selection-start-column="51" selection-end-line="132" selection-end-column="51" />
<folding>
<element signature="method#FlowMonitor#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#1874#1944#0" expanded="false" />
<element signature="method#findSeatsActiveness#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#2322#2397#0" expanded="false" />
<element signature="e#1958#2028#0" expanded="false" />
<element signature="e#2406#2481#0" expanded="false" />
<element signature="method#findSeatsActivenessMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#2798#2873#0" expanded="false" />
<element signature="method#findPerformanceStability#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#3276#3356#0" expanded="false" />
<element signature="e#2882#2957#0" expanded="false" />
<element signature="e#3360#3440#0" expanded="false" />
<element signature="method#findPerformanceStabilityMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#3781#3845#0" expanded="false" />
<element signature="method#findCatonUser#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#4197#4266#0" expanded="false" />
<element signature="e#3865#3929#0" expanded="false" />
<element signature="e#4281#4350#0" expanded="false" />
<element signature="method#findCatonUserMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#4643#4713#0" expanded="false" />
<element signature="method#findBusinessPerformanceTop#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#5097#5168#0" expanded="false" />
<element signature="e#4727#4797#0" expanded="false" />
<element signature="e#5181#5252#0" expanded="false" />
<element signature="method#findBusinessPerformanceLast#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#5555#5624#0" expanded="false" />
<element signature="method#findBusinessOffice#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#6263#6337#0" expanded="false" />
<element signature="method#findBusinessOfficeMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#7006#7079#0" expanded="false" />
<element signature="method#findSeatsReceptionUser#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#7472#7550#0" expanded="false" />
<element signature="method#findSeatsReceptionUserMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#7964#8025#0" expanded="false" />
<element signature="e#8355#8421#0" expanded="false" />
<element signature="e#5639#5708#0" expanded="false" />
<element signature="e#6978#7052#0" expanded="false" />
<element signature="e#8347#8420#0" expanded="false" />
<element signature="e#8813#8891#0" expanded="false" />
<element signature="e#9305#9366#0" expanded="false" />
<element signature="e#9696#9762#0" expanded="false" />
<element signature="method#findUserIpMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#8776#8841#0" expanded="false" />
<element signature="e#9193#9263#0" expanded="false" />
<element signature="e#10117#10182#0" expanded="false" />
<element signature="e#10534#10604#0" expanded="false" />
<element signature="method#findIpBusinessMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#9636#9698#0" expanded="false" />
<element signature="method#findIpTrend#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#10273#10340#0" expanded="false" />
<element signature="method#findIpTrendMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#10947#11015#0" expanded="false" />
<element signature="e#10977#11039#0" expanded="false" />
<element signature="e#11860#11927#0" expanded="false" />
<element signature="e#12751#12819#0" expanded="false" />
<element signature="method#findServerExample#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#11381#11454#0" expanded="false" />
<element signature="e#13185#13258#0" expanded="false" />
<element signature="method#findServerExampleMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#11844#11918#0" expanded="false" />
<element signature="e#13648#13722#0" expanded="false" />
<element signature="method#findClientCompatibility#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#12316#12395#0" expanded="false" />
<element signature="e#14120#14199#0" expanded="false" />
<element signature="method#findClientCompatibilityMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#12817#12887#0" expanded="false" />
<element signature="method#findHttpInformation#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#13266#13341#0" expanded="false" />
<element signature="method#findHttpInformationMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#15070#15145#0" expanded="false" />
<marker date="1517503535803" expanded="false" signature="6014:6030" ph="&lt;~&gt;" />
<marker date="1517503535803" expanded="false" signature="6081:6089" ph="&lt;~&gt;" />
<marker date="1517503535803" expanded="false" signature="7364:7372" ph="&lt;~&gt;" />
<marker date="1517503535803" expanded="false" signature="7427:7443" ph="&lt;~&gt;" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="FlowMonitor.jsp" pinned="false" current-in-tab="false">
<file leaf-file-name="FlowAccountDao.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowAccountDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<caret line="12" column="73" lean-forward="false" selection-start-line="12" selection-start-column="59" selection-end-line="12" selection-end-column="73" />
<folding>
<marker date="1517501669418" expanded="true" signature="456:774" ph="SELECT ACCOU... ACCOUNT" />
<marker date="1517501669418" expanded="true" signature="535:692" ph="SELECT ACCOU... app_sm_db_account_kpi_250_t" />
<marker date="1517501669418" expanded="true" signature="535:726" ph="SELECT ACCOU... app_sm_db_account_kpi_250_t" />
<marker date="1517501669418" expanded="true" signature="869:1182" ph="SELECT ACCOU... ACCOUNT" />
<marker date="1517501669418" expanded="true" signature="948:1105" ph="SELECT ACCOU... app_sm_db_account_kpi_250_t" />
<marker date="1517501669418" expanded="true" signature="948:1139" ph="SELECT ACCOU... app_sm_db_account_kpi_250_t" />
<marker date="1517501669418" expanded="true" signature="1357:1655" ph="select STATS... app_sm_db_account_kpi_250_t" />
<marker date="1517501669418" expanded="true" signature="1839:2129" ph="select trunc... app_sm_db_account_kpi_250_t" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="FlowMonitor.jsp" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/FlowMonitor.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="220">
<caret line="189" column="34" lean-forward="false" selection-start-line="189" selection-start-column="34" selection-end-line="189" selection-end-column="34" />
<folding />
<state relative-caret-position="878">
<caret line="911" column="11" lean-forward="false" selection-start-line="911" selection-start-column="11" selection-end-line="911" selection-end-column="11" />
<folding>
<element signature="n#script#7;n#body#0;n#html#0;n#!!top" expanded="false" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="FlowClientDao.java" pinned="false" current-in-tab="true">
<file leaf-file-name="FlowClientDao.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowClientDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="132">
<caret line="20" column="97" lean-forward="false" selection-start-line="20" selection-start-column="97" selection-end-line="20" selection-end-column="97" />
<state relative-caret-position="638">
<caret line="34" column="25" lean-forward="false" selection-start-line="34" selection-start-column="25" selection-end-line="34" selection-end-column="25" />
<folding>
<marker date="1517482088870" expanded="true" signature="451:862" ph="select CLIEN... CLIENT_IP" />
<marker date="1517482088870" expanded="true" signature="628:813" ph="select CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517482088870" expanded="true" signature="954:1234" ph="select CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517482088870" expanded="true" signature="1326:1449" ph="SELECT \nsum... CLIENT_IP" />
<marker date="1517482088870" expanded="true" signature="1552:1877" ph="SELECT CNT1,... YONGHU_OLD_TMP" />
<marker date="1517482088870" expanded="true" signature="1976:2181" ph="SELECT CLIEN... CLIENT_IP" />
<marker date="1517482088870" expanded="true" signature="1999:2179" ph="SELECT CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517482088870" expanded="true" signature="2269:2491" ph="select sum(T... " />
<marker date="1517482088870" expanded="true" signature="2602:2806" ph="select sum(T... " />
<marker date="1517502195138" expanded="true" signature="451:862" ph="select CLIEN... CLIENT_IP" />
<marker date="1517502195138" expanded="true" signature="628:813" ph="select CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517502195138" expanded="true" signature="954:1234" ph="select CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517502195138" expanded="true" signature="1326:1449" ph="SELECT \nsum... CLIENT_IP" />
<marker date="1517502195138" expanded="true" signature="1552:1855" ph="SELECT CNT1,... YONGHU_OLD_TMP" />
<marker date="1517502195138" expanded="true" signature="1958:2163" ph="SELECT CLIEN... CLIENT_IP" />
<marker date="1517502195138" expanded="true" signature="1981:2161" ph="SELECT CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517502195138" expanded="true" signature="2259:2481" ph="select sum(T... " />
<marker date="1517502195138" expanded="true" signature="2600:2804" ph="select sum(T... " />
<marker date="1517502195138" expanded="true" signature="2919:3124" ph="SELECT CLIEN... CLIENT_IP" />
<marker date="1517502195138" expanded="true" signature="2942:3122" ph="SELECT CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517502195138" expanded="true" signature="3212:3720" ph="select sum(T... " />
<marker date="1517502195138" expanded="true" signature="3213:3720" ph="select sum(T... " />
<marker date="1517502195138" expanded="true" signature="3818:4300" ph="select sum(T... " />
</folding>
</state>
</provider>
......@@ -153,12 +175,6 @@
</component>
<component name="FindInProjectRecents">
<findStrings>
<find>kpiWeightTd</find>
<find>addAnaInfo</find>
<find>guanlian</find>
<find>yinjingyinhuanToguanlianzhenduanmingxi</find>
<find>getDetail</find>
<find>AssociateDiagosisDetail</find>
<find>findObjByProvinceIdAndKpiIdAndoccurTimeAndCloseTime</find>
<find>findAssociateDiagosisDetailByWarnTimeBeginAndEnd</find>
<find>changeTable</find>
......@@ -183,6 +199,12 @@
<find>#qualityRuleView</find>
<find>selectAnaInfo</find>
<find>businessActivedListTd</find>
<find>ipList</find>
<find>time</find>
<find>myChartIpTrend</find>
<find>\n</find>
<find>console.log</find>
<find>xAxis</find>
</findStrings>
<replaceStrings>
<replace>InsideXcdWorkingOrderInfoView</replace>
......@@ -245,18 +267,18 @@
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/FlowClient.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/FlowServer.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/FlowBrowser.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowBrowserDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowMonitorCatonDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowServerDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowAccountDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowHallBusinessDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowMonitorDao.java" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/layouts/header.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/FlowMonitor.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/TswbYzTemplateDataTable.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/TSWB_Detail_Period.tag" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/FlowMonitorController.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowBrowserDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowAccountDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowMonitorCatonDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowClientDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowHallBusinessDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/FlowMonitorController.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowMonitorDao.java" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/FlowMonitor.jsp" />
</list>
</option>
</component>
......@@ -333,8 +355,6 @@
</navigator>
<panes>
<pane id="PackagesPane" />
<pane id="Scope" />
<pane id="AndroidView" />
<pane id="Scratches" />
<pane id="ProjectPane">
<subPane>
......@@ -397,6 +417,8 @@
<select />
</subPane>
</pane>
<pane id="AndroidView" />
<pane id="Scope" />
</panes>
</component>
<component name="PropertiesComponent">
......@@ -412,15 +434,15 @@
<property name="jsx.switch.disabled" value="true" />
</component>
<component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS">
<recent name="D:\idea_programs\monitorAnalysis\target\classes\com\cmsz" />
<recent name="D:\代码\智能分析平台\CmszMonitorAnalysis\trunk\数据库脚本\201710" />
</key>
<key name="CopyFile.RECENT_KEYS">
<recent name="D:\idea_programs\monitorAnalysis\src\main\webapp\WEB-INF\views\MonitorOperation" />
<recent name="D:\代码\智能分析平台\CmszMonitorAnalysis\trunk\数据库脚本" />
<recent name="D:\代码\智能分析平台\CmszMonitorAnalysis\trunk\src\main\webapp\static\js" />
</key>
<key name="MoveFile.RECENT_KEYS">
<recent name="D:\idea_programs\monitorAnalysis\target\classes\com\cmsz" />
<recent name="D:\代码\智能分析平台\CmszMonitorAnalysis\trunk\数据库脚本\201710" />
</key>
</component>
<component name="RunDashboard">
<option name="ruleStates">
......@@ -830,21 +852,8 @@
<workItem from="1517361856125" duration="10213000" />
<workItem from="1517447273996" duration="9081000" />
<workItem from="1517479609342" duration="586000" />
<workItem from="1517480698534" duration="933000" />
</task>
<task id="LOCAL-00008" summary="2017年11月08 智能分析平台提交内容&#10; --模型页面">
<created>1510148974119</created>
<option name="number" value="00008" />
<option name="presentableId" value="LOCAL-00008" />
<option name="project" value="LOCAL" />
<updated>1510148974119</updated>
</task>
<task id="LOCAL-00009" summary="2017年11月09 智能分析平台提交内容&#10; --模型管理增加字段&#10; --告警监控-内部协查单功能&#10; --验收通过">
<created>1510162734450</created>
<option name="number" value="00009" />
<option name="presentableId" value="LOCAL-00009" />
<option name="project" value="LOCAL" />
<updated>1510162734450</updated>
<workItem from="1517480698534" duration="23404000" />
<workItem from="1517533567114" duration="53000" />
</task>
<task id="LOCAL-00010" summary="2017年11月09 智能分析平台提交内容&#10; --数据库脚本更新">
<created>1510162965813</created>
......@@ -1175,11 +1184,25 @@
<option name="project" value="LOCAL" />
<updated>1517472328089</updated>
</task>
<option name="localTasksCounter" value="57" />
<task id="LOCAL-00057" summary="2018年2月1日 --智能分析平台&#10; --实体厅流量监测:用户IP业务分布sql修改">
<created>1517482162849</created>
<option name="number" value="00057" />
<option name="presentableId" value="LOCAL-00057" />
<option name="project" value="LOCAL" />
<updated>1517482162850</updated>
</task>
<task id="LOCAL-00058" summary="2018年2月1日 --智能分析平台&#10; --实体厅流量监测:页面性能调整">
<created>1517507366936</created>
<option name="number" value="00058" />
<option name="presentableId" value="LOCAL-00058" />
<option name="project" value="LOCAL" />
<updated>1517507366936</updated>
</task>
<option name="localTasksCounter" value="59" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="932686000" />
<option name="totallyTimeSpent" value="955210000" />
</component>
<component name="TodoView" selected-index="2">
<todo-panel id="selected-file">
......@@ -1203,17 +1226,16 @@
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24962178" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.009868421" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.85081965" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3272727" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.16721311" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
<window_info id="Palette&#9;" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Image Layers" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Java Enterprise" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32459018" sideWeight="0.5" order="11" side_tool="false" content_ui="tabs" />
<window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24754098" sideWeight="0.48638427" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.90163934" sideWeight="0.48638427" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3262295" sideWeight="0.48865354" order="13" side_tool="false" content_ui="tabs" />
<window_info id="Spring" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32730263" sideWeight="0.5" order="12" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="16" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="1.0" sideWeight="0.5" order="16" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.22239032" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Bean Validation" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32980332" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Web" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32954547" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" />
......@@ -1225,6 +1247,7 @@
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="IvyIDEA" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32840723" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.16721311" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="REST Client" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.5496575" sideWeight="0.5" order="15" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.056410257" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
......@@ -1317,8 +1340,6 @@
<component name="VcsManagerConfiguration">
<option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
<option name="CHECK_NEW_TODO" value="false" />
<MESSAGE value="监控运营-&gt;告警关联诊断-&gt;关联诊断-&gt;新建&#10;'全选' 增加红色样式" />
<MESSAGE value="调整 输入框 '权值' 的步长" />
<MESSAGE value="监控运营-&gt;告警监控 -&gt;预警和隐患维护 界面&#10;1 增加 ‘关联诊断’ 按钮&#10;2 删除部分 废代码" />
<MESSAGE value="修改 ‘省份’ 为 全国" />
<MESSAGE value="修改" />
......@@ -1342,7 +1363,9 @@
<MESSAGE value="2018年1月26日 --智能分析平台&#10; --实体厅流量监测页面" />
<MESSAGE value="2018年1月27日 --智能分析平台&#10; --实体厅流量监测页面时间轴修改" />
<MESSAGE value="2018年2月1日 --智能分析平台&#10; --投诉文本分析下业支下发模板" />
<option name="LAST_COMMIT_MESSAGE" value="2018年2月1日 --智能分析平台&#10; --投诉文本分析下业支下发模板" />
<MESSAGE value="2018年2月1日 --智能分析平台&#10; --实体厅流量监测:用户IP业务分布sql修改" />
<MESSAGE value="2018年2月1日 --智能分析平台&#10; --实体厅流量监测:页面性能调整" />
<option name="LAST_COMMIT_MESSAGE" value="2018年2月1日 --智能分析平台&#10; --实体厅流量监测:页面性能调整" />
</component>
<component name="XDebuggerManager">
<breakpoint-manager>
......@@ -1386,7 +1409,7 @@
<option name="timeStamp" value="58" />
</line-breakpoint>
</breakpoints>
<option name="time" value="104" />
<option name="time" value="108" />
</breakpoint-manager>
<watches-manager>
<configuration name="#com.intellij.j2ee.web.tomcat.TomcatRunConfigurationFactory">
......@@ -1407,27 +1430,6 @@
</buildFile>
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/ServiceFeatureAnalysis.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-11418">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowAccountDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="220">
<caret line="15" column="10" lean-forward="false" selection-start-line="15" selection-start-column="10" selection-end-line="15" selection-end-column="10" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/static/css/styles.css">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="245">
<caret line="49" column="11" lean-forward="false" selection-start-line="49" selection-start-column="11" selection-end-line="49" selection-end-column="11" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/static/js/ruleResultDetailTable.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-330">
......@@ -1584,13 +1586,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowHallBusinessDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="135">
<caret line="24" column="176" lean-forward="false" selection-start-line="24" selection-start-column="176" selection-end-line="24" selection-end-column="176" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/FlowMonitor.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="44">
......@@ -1640,13 +1635,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowMonitorDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="22">
<caret line="9" column="17" lean-forward="false" selection-start-line="9" selection-start-column="17" selection-end-line="9" selection-end-column="17" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/TSWBAnalysisController.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="348">
......@@ -1665,7 +1653,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="213">
<caret line="82" column="57" lean-forward="true" selection-start-line="82" selection-start-column="57" selection-end-line="82" selection-end-column="57" />
<folding />
</state>
</provider>
</entry>
......@@ -1673,7 +1660,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-1782">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
......@@ -1688,7 +1674,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-1320">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
......@@ -1710,7 +1695,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="110">
<caret line="80" column="52" lean-forward="false" selection-start-line="80" selection-start-column="52" selection-end-line="80" selection-end-column="52" />
<folding />
</state>
</provider>
</entry>
......@@ -1739,7 +1723,6 @@
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="220">
<caret line="82" column="53" lean-forward="true" selection-start-line="82" selection-start-column="53" selection-end-line="82" selection-end-column="53" />
<folding />
</state>
</provider>
</entry>
......@@ -1757,84 +1740,127 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/FlowMonitor.jsp">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowBrowserDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="220">
<caret line="189" column="34" lean-forward="false" selection-start-line="189" selection-start-column="34" selection-end-line="189" selection-end-column="34" />
<folding />
<state relative-caret-position="462">
<caret line="26" column="1" lean-forward="true" selection-start-line="26" selection-start-column="1" selection-end-line="26" selection-end-column="1" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowMonitorCatonDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198">
<caret line="14" column="69" lean-forward="true" selection-start-line="14" selection-start-column="46" selection-end-line="14" selection-end-column="69" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowClientDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="638">
<caret line="34" column="25" lean-forward="false" selection-start-line="34" selection-start-column="25" selection-end-line="34" selection-end-column="25" />
<folding>
<marker date="1517502195138" expanded="true" signature="451:862" ph="select CLIEN... CLIENT_IP" />
<marker date="1517502195138" expanded="true" signature="628:813" ph="select CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517502195138" expanded="true" signature="954:1234" ph="select CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517502195138" expanded="true" signature="1326:1449" ph="SELECT \nsum... CLIENT_IP" />
<marker date="1517502195138" expanded="true" signature="1552:1855" ph="SELECT CNT1,... YONGHU_OLD_TMP" />
<marker date="1517502195138" expanded="true" signature="1958:2163" ph="SELECT CLIEN... CLIENT_IP" />
<marker date="1517502195138" expanded="true" signature="1981:2161" ph="SELECT CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517502195138" expanded="true" signature="2259:2481" ph="select sum(T... " />
<marker date="1517502195138" expanded="true" signature="2600:2804" ph="select sum(T... " />
<marker date="1517502195138" expanded="true" signature="2919:3124" ph="SELECT CLIEN... CLIENT_IP" />
<marker date="1517502195138" expanded="true" signature="2942:3122" ph="SELECT CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517502195138" expanded="true" signature="3212:3720" ph="select sum(T... " />
<marker date="1517502195138" expanded="true" signature="3213:3720" ph="select sum(T... " />
<marker date="1517502195138" expanded="true" signature="3818:4300" ph="select sum(T... " />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowHallBusinessDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="271">
<caret line="20" column="57" lean-forward="false" selection-start-line="20" selection-start-column="53" selection-end-line="20" selection-end-column="57" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowMonitorDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="176">
<caret line="13" column="19" lean-forward="false" selection-start-line="13" selection-start-column="19" selection-end-line="13" selection-end-column="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/FlowMonitorController.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="221">
<caret line="214" column="45" lean-forward="false" selection-start-line="214" selection-start-column="45" selection-end-line="214" selection-end-column="45" />
<state relative-caret-position="1848">
<caret line="132" column="51" lean-forward="false" selection-start-line="132" selection-start-column="51" selection-end-line="132" selection-end-column="51" />
<folding>
<element signature="method#FlowMonitor#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#1874#1944#0" expanded="false" />
<element signature="method#findSeatsActiveness#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#2322#2397#0" expanded="false" />
<element signature="e#1958#2028#0" expanded="false" />
<element signature="e#2406#2481#0" expanded="false" />
<element signature="method#findSeatsActivenessMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#2798#2873#0" expanded="false" />
<element signature="method#findPerformanceStability#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#3276#3356#0" expanded="false" />
<element signature="e#2882#2957#0" expanded="false" />
<element signature="e#3360#3440#0" expanded="false" />
<element signature="method#findPerformanceStabilityMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#3781#3845#0" expanded="false" />
<element signature="method#findCatonUser#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#4197#4266#0" expanded="false" />
<element signature="e#3865#3929#0" expanded="false" />
<element signature="e#4281#4350#0" expanded="false" />
<element signature="method#findCatonUserMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#4643#4713#0" expanded="false" />
<element signature="method#findBusinessPerformanceTop#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#5097#5168#0" expanded="false" />
<element signature="e#4727#4797#0" expanded="false" />
<element signature="e#5181#5252#0" expanded="false" />
<element signature="method#findBusinessPerformanceLast#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#5555#5624#0" expanded="false" />
<element signature="method#findBusinessOffice#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#6263#6337#0" expanded="false" />
<element signature="method#findBusinessOfficeMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#7006#7079#0" expanded="false" />
<element signature="method#findSeatsReceptionUser#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#7472#7550#0" expanded="false" />
<element signature="method#findSeatsReceptionUserMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#7964#8025#0" expanded="false" />
<element signature="e#8355#8421#0" expanded="false" />
<element signature="e#5639#5708#0" expanded="false" />
<element signature="e#6978#7052#0" expanded="false" />
<element signature="e#8347#8420#0" expanded="false" />
<element signature="e#8813#8891#0" expanded="false" />
<element signature="e#9305#9366#0" expanded="false" />
<element signature="e#9696#9762#0" expanded="false" />
<element signature="method#findUserIpMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#8776#8841#0" expanded="false" />
<element signature="e#9193#9263#0" expanded="false" />
<element signature="e#10117#10182#0" expanded="false" />
<element signature="e#10534#10604#0" expanded="false" />
<element signature="method#findIpBusinessMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#9636#9698#0" expanded="false" />
<element signature="method#findIpTrend#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#10273#10340#0" expanded="false" />
<element signature="method#findIpTrendMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#10947#11015#0" expanded="false" />
<element signature="e#10977#11039#0" expanded="false" />
<element signature="e#11860#11927#0" expanded="false" />
<element signature="e#12751#12819#0" expanded="false" />
<element signature="method#findServerExample#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#11381#11454#0" expanded="false" />
<element signature="e#13185#13258#0" expanded="false" />
<element signature="method#findServerExampleMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#11844#11918#0" expanded="false" />
<element signature="e#13648#13722#0" expanded="false" />
<element signature="method#findClientCompatibility#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#12316#12395#0" expanded="false" />
<element signature="e#14120#14199#0" expanded="false" />
<element signature="method#findClientCompatibilityMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#12817#12887#0" expanded="false" />
<element signature="method#findHttpInformation#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#13266#13341#0" expanded="false" />
<element signature="method#findHttpInformationMonth#0;class#FlowMonitorController#0" expanded="false" />
<element signature="e#15070#15145#0" expanded="false" />
<marker date="1517503535803" expanded="false" signature="6014:6030" ph="&lt;~&gt;" />
<marker date="1517503535803" expanded="false" signature="6081:6089" ph="&lt;~&gt;" />
<marker date="1517503535803" expanded="false" signature="7364:7372" ph="&lt;~&gt;" />
<marker date="1517503535803" expanded="false" signature="7427:7443" ph="&lt;~&gt;" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowClientDao.java">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FlowAccountDao.java">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154">
<caret line="12" column="73" lean-forward="false" selection-start-line="12" selection-start-column="59" selection-end-line="12" selection-end-column="73" />
<folding>
<marker date="1517501669418" expanded="true" signature="456:774" ph="SELECT ACCOU... ACCOUNT" />
<marker date="1517501669418" expanded="true" signature="535:692" ph="SELECT ACCOU... app_sm_db_account_kpi_250_t" />
<marker date="1517501669418" expanded="true" signature="535:726" ph="SELECT ACCOU... app_sm_db_account_kpi_250_t" />
<marker date="1517501669418" expanded="true" signature="869:1182" ph="SELECT ACCOU... ACCOUNT" />
<marker date="1517501669418" expanded="true" signature="948:1105" ph="SELECT ACCOU... app_sm_db_account_kpi_250_t" />
<marker date="1517501669418" expanded="true" signature="948:1139" ph="SELECT ACCOU... app_sm_db_account_kpi_250_t" />
<marker date="1517501669418" expanded="true" signature="1357:1655" ph="select STATS... app_sm_db_account_kpi_250_t" />
<marker date="1517501669418" expanded="true" signature="1839:2129" ph="select trunc... app_sm_db_account_kpi_250_t" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/FlowMonitor.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="132">
<caret line="20" column="97" lean-forward="false" selection-start-line="20" selection-start-column="97" selection-end-line="20" selection-end-column="97" />
<state relative-caret-position="878">
<caret line="911" column="11" lean-forward="false" selection-start-line="911" selection-start-column="11" selection-end-line="911" selection-end-column="11" />
<folding>
<marker date="1517482088870" expanded="true" signature="451:862" ph="select CLIEN... CLIENT_IP" />
<marker date="1517482088870" expanded="true" signature="628:813" ph="select CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517482088870" expanded="true" signature="954:1234" ph="select CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517482088870" expanded="true" signature="1326:1449" ph="SELECT \nsum... CLIENT_IP" />
<marker date="1517482088870" expanded="true" signature="1552:1877" ph="SELECT CNT1,... YONGHU_OLD_TMP" />
<marker date="1517482088870" expanded="true" signature="1976:2181" ph="SELECT CLIEN... CLIENT_IP" />
<marker date="1517482088870" expanded="true" signature="1999:2179" ph="SELECT CLIEN... app_sm_db_client_kpi_250_t" />
<marker date="1517482088870" expanded="true" signature="2269:2491" ph="select sum(T... " />
<marker date="1517482088870" expanded="true" signature="2602:2806" ph="select sum(T... " />
<element signature="n#script#7;n#body#0;n#html#0;n#!!top" expanded="false" />
</folding>
</state>
</provider>
......
......@@ -10,15 +10,20 @@ import java.util.List;
public interface FlowAccountDao extends PagingAndSortingRepository<FlowAccount,Long>,JpaSpecificationExecutor<FlowAccount> {
//坐席分析前TOP10
@Query(value="SELECT ACCOUNT,TRANS_CNT,TRANS_AVAIL_CNT,TRANS_TIME_AVG FROM (SELECT ACCOUNT,TRANS_CNT,TRANS_AVAIL_CNT,TRANS_TIME_AVG,RANK()OVER(ORDER BY STATS_TIME DESC) AS RANK FROM CCOLAP.app_sm_db_account_kpi_250_t)A WHERE RANK=1 ORDER BY TRANS_CNT DESC LIMIT 10", nativeQuery=true)
@Query(value="SELECT ACCOUNT,TRANS_CNT,TRANS_AVAIL_CNT,TRANS_TIME_AVG FROM (" +
"SELECT ACCOUNT,TRANS_CNT,TRANS_AVAIL_CNT,TRANS_TIME_AVG,RANK()OVER(ORDER BY STATS_TIME DESC) AS RANK FROM" +
" CCOLAP.app_sm_db_account_kpi_250_t where stats_time >=trunc(sysdate))A WHERE RANK=1 ORDER BY TRANS_CNT DESC LIMIT 10", nativeQuery=true)
List<Object[]> seatAnalysisTop();
//坐席分析后TOP10
@Query(value="SELECT ACCOUNT,TRANS_CNT,TRANS_AVAIL_CNT,TRANS_TIME_AVG FROM (SELECT ACCOUNT,TRANS_CNT,TRANS_AVAIL_CNT,TRANS_TIME_AVG,RANK()OVER(ORDER BY STATS_TIME DESC) AS RANK FROM CCOLAP.app_sm_db_account_kpi_250_t)A WHERE RANK=1 ORDER BY TRANS_CNT LIMIT 10", nativeQuery=true)
@Query(value="SELECT ACCOUNT,TRANS_CNT,TRANS_AVAIL_CNT,TRANS_TIME_AVG FROM (" +
"SELECT ACCOUNT,TRANS_CNT,TRANS_AVAIL_CNT,TRANS_TIME_AVG,RANK()OVER(ORDER BY STATS_TIME DESC) AS RANK FROM " +
"CCOLAP.app_sm_db_account_kpi_250_t where stats_time >=trunc(sysdate))A WHERE RANK=1 ORDER BY TRANS_CNT LIMIT 10", nativeQuery=true)
List<Object[]> seatAnalysisLast();
//坐席*接待客户分析实时(TIME1_MOBILE_CNT:无法使用客户数 TIME2_MOBILE_CNT:可容忍客户数 TIME3_MOBILE_CNT:不满意客户数)
@Query(value="select STATS_TIME,sum(TIME1_MOBILE_CNT) as TIME1_MOBILE_CNT,sum(TIME2_MOBILE_CNT) as TIME2_MOBILE_CNT,sum(TIME3_MOBILE_CNT) as TIME3_MOBILE_CNT from ccolap.app_sm_db_account_kpi_250_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24 group by STATS_TIME order by STATS_TIME", nativeQuery=true)
@Query(value="select STATS_TIME,sum(TIME1_MOBILE_CNT) as TIME1_MOBILE_CNT,sum(TIME2_MOBILE_CNT) as TIME2_MOBILE_CNT," +
"sum(TIME3_MOBILE_CNT) as TIME3_MOBILE_CNT from ccolap.app_sm_db_account_kpi_250_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24 group by STATS_TIME order by STATS_TIME", nativeQuery=true)
List<Object[]> seatsReceptionUser();
//坐席*接待客户分析当月1号到当前时间(TIME1_MOBILE_CNT:无法使用客户数 TIME2_MOBILE_CNT:可容忍客户数 TIME3_MOBILE_CNT:不满意客户数)
......
......@@ -18,10 +18,10 @@ public interface FlowBrowserDao extends PagingAndSortingRepository<FlowBrowser,L
List<Object[]> clientCompatibilityMonth();
//服务器相关情况分析:HTTP状态码分析(数据中没有'代码号'字段)实时
@Query(value="select SERVER_IP,SOTHER_CNT from (select SERVER_IP,SOTHER_CNT,rank()over(order by STATS_TIME desc) as rank from ccolap.app_sm_db_server_kpi_t where STATS_TIME>=trunc(sysdate))a where rank=1 order by SOTHER_CNT desc limit 10", nativeQuery=true)
@Query(value="select SERVER_IP,tot,thot,fof,blank from ccolap.f3_tmp", nativeQuery=true)
List<Object[]> httpInformation();
//服务器相关情况分析:HTTP状态码分析(数据中没有'代码号'字段)当月1号到当前时间
@Query(value="select SERVER_IP,sum(SOTHER_CNT) as SOTHER_CNT from ccolap.app_sm_db_server_kpi_t where STATS_TIME>=trunc(sysdate,'mm') group by SERVER_IP order by SOTHER_CNT desc limit 10", nativeQuery=true)
@Query(value="select SERVER_IP,tot,thot,fof,blank from ccolap.f3_old_tmp", nativeQuery=true)
List<Object[]> httpInformationMonth();
}
......@@ -22,29 +22,61 @@ public interface FlowClientDao extends PagingAndSortingRepository<FlowClient,Lon
List<Object[]> ipBusiness();
//用户IP业务分布:TOP10当月1号到当前时间
@Query(value="SELECT CNT1,\n" +
"CNT2,\n" +
"CNT3,\n" +
"CNT4,\n" +
"CNT5,\n" +
"CNT6,\n" +
"CNT7,\n" +
"CNT8,\n" +
"CNT9,\n" +
"CNT10,\n" +
"CLIENT_IP,\n" +
@Query(value="SELECT CNT1," +
"CNT2," +
"CNT3," +
"CNT4," +
"CNT5," +
"CNT6," +
"CNT7," +
"CNT8," +
"CNT9," +
"CNT10," +
"CLIENT_IP," +
"CNT FROM ccolap.YONGHU_OLD_TMP ORDER BY CNT DESC", nativeQuery=true)
List<Object[]> ipBusinessMonth();
//用户IP趋势分析:确定ip:
// //用户IP趋势分析:确定ip:
// @Query(value="SELECT CLIENT_IP from (SELECT CLIENT_IP,sum(TRANS_CNT) as CNT FROM ccolap.app_sm_db_client_kpi_250_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24 group by CLIENT_IP ORDER BY CNT DESC LIMIT 6)a", nativeQuery=true)
// List<String> findIp();
//
// //用户IP趋势分析:趋势图实时
// @Query(value="select sum(TRANS_CNT) as CNT,CLIENT_IP,STATS_TIME as time from ccolap.app_sm_db_client_kpi_250_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24 and CLIENT_IP =(?1) group by CLIENT_IP,STATS_TIME order by STATS_TIME", nativeQuery=true)
// List<Object[]> ipTrend(String ipList);
//
// //用户IP趋势分析:趋势图当月1号到当前时间
// @Query(value="select sum(TRANS_CNT) as CNT,CLIENT_IP,trunc(STATS_TIME,'dd') as time from ccolap.app_sm_db_client_kpi_250_t where STATS_TIME>=trunc(sysdate,'mm') and CLIENT_IP=(?1) group by CLIENT_IP,time order by time", nativeQuery=true)
// List<Object[]> ipTrendMonth(String ipList);
//用户IP趋势分析:确定ip:
@Query(value="SELECT CLIENT_IP from (SELECT CLIENT_IP,sum(TRANS_CNT) as CNT FROM ccolap.app_sm_db_client_kpi_250_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24 group by CLIENT_IP ORDER BY CNT DESC LIMIT 6)a", nativeQuery=true)
List<String> findIp();
//用户IP趋势分析:趋势图实时
@Query(value="select sum(TRANS_CNT) as CNT,CLIENT_IP,STATS_TIME as time from ccolap.app_sm_db_client_kpi_250_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24 and CLIENT_IP =(?1) group by CLIENT_IP,STATS_TIME order by STATS_TIME", nativeQuery=true)
List<Object[]> ipTrend(String ipList);
@Query(value=" select sum(TRANS_CNT) as CNT,CLIENT_IP,STATS_TIME as time " +
" from ccolap.app_sm_db_client_kpi_250_t where STATS_TIME>=now()-34/24" +
" and STATS_TIME<now()-4/24 and CLIENT_IP in (SELECT CLIENT_IP from (SELECT CLIENT_IP,sum(TRANS_CNT) as CNT FROM" +
" ccolap.app_sm_db_client_kpi_250_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24" +
" group by CLIENT_IP ORDER BY CNT DESC LIMIT 10)a) group by CLIENT_IP,STATS_TIME order by CLIENT_IP", nativeQuery=true)
List<Object[]> ipTrend();
//用户IP趋势分析:趋势图当月1号到当前时间
@Query(value="select sum(TRANS_CNT) as CNT,CLIENT_IP,trunc(STATS_TIME,'dd') as time from ccolap.app_sm_db_client_kpi_250_t where STATS_TIME>=trunc(sysdate,'mm') and CLIENT_IP=(?1) group by CLIENT_IP,time order by time", nativeQuery=true)
List<Object[]> ipTrendMonth(String ipList);
@Query(value="select sum(TRANS_CNT) as CNT,CLIENT_IP,trunc(STATS_TIME,'dd') as time from ccolap.app_sm_db_client_kpi_250_t " +
" where STATS_TIME>=trunc(sysdate,'mm') and CLIENT_IP in ((SELECT CLIENT_IP from (SELECT CLIENT_IP,sum(TRANS_CNT) as CNT FROM " +
" ccolap.app_sm_db_client_kpi_250_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24 " +
" group by CLIENT_IP ORDER BY CNT DESC LIMIT 10)a)) group by CLIENT_IP,time order by CLIENT_IP", nativeQuery=true)
List<Object[]> ipTrendMonth();
}
// select sum(TRANS_CNT) as CNT,CLIENT_IP,STATS_TIME as time
// from ccolap.app_sm_db_client_kpi_250_t where STATS_TIME>=now()-34/24
// and STATS_TIME<now()-4/24 and CLIENT_IP in (SELECT CLIENT_IP from (SELECT CLIENT_IP,sum(TRANS_CNT) as CNT FROM
// ccolap.app_sm_db_client_kpi_250_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24
// group by CLIENT_IP ORDER BY CNT DESC LIMIT 6)a) group by CLIENT_IP,STATS_TIME order by CLIENT_IP
//
// SELECT CLIENT_IP from (SELECT CLIENT_IP,sum(TRANS_CNT) as CNT FROM
// ccolap.app_sm_db_client_kpi_250_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24
// group by CLIENT_IP ORDER BY CNT DESC LIMIT 6)a
\ No newline at end of file
......@@ -18,10 +18,10 @@ public interface FlowHallBusinessDao extends PagingAndSortingRepository<FlowHall
List<String> hallMonth();
// 实时
@Query(value="select sum(TRANS_CNT) as TRANS_CNT,HALL,STATS_TIME from ccolap.app_sm_db_hall_kpi_250_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24 and hall =(?1) group by HALL,STATS_TIME order by STATS_TIME;", nativeQuery=true)
List<Object[]> businessOffice(String hall);
@Query(value="select sum(TRANS_CNT) as TRANS_CNT,HALL,STATS_TIME from ccolap.app_sm_db_hall_kpi_250_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24 and hall in (select hall from (select sum(trans_cnt) as cnt,HALL from ccolap.app_sm_db_hall_kpi_250_t where STATS_TIME>=now()-34/24 group by HALL order by cnt desc limit 5)a) group by HALL,STATS_TIME order by HALL;", nativeQuery=true)
List<Object[]> businessOffice();
//营业厅业务量分析当月1号到当前时间
@Query(value="select sum(TRANS_CNT) as TRANS_CNT,HALL,TRUNC(STATS_TIME) as STATS_TIME from ccolap.app_sm_db_hall_kpi_250_t where STATS_TIME>=trunc(sysdate,'mm') and HALL =(?1) group by trunc(STATS_TIME),HALL order by STATS_TIME;", nativeQuery=true)
List<Object[]> businessOfficeMonth(String hall);
@Query(value="select sum(TRANS_CNT) as TRANS_CNT,HALL,TRUNC(STATS_TIME) as STATS_TIME from ccolap.app_sm_db_hall_kpi_250_t where STATS_TIME>=trunc(sysdate,'mm') and HALL in (select hall from (select sum(trans_cnt) as cnt,HALL from ccolap.app_sm_db_hall_kpi_250_t where STATS_TIME>=trunc(sysdate,'mm') group by HALL order by cnt desc limit 5)a) group by trunc(STATS_TIME),HALL order by HALL;", nativeQuery=true)
List<Object[]> businessOfficeMonth();
}
......@@ -10,7 +10,9 @@ import java.util.List;
public interface FlowMonitorCatonDao extends PagingAndSortingRepository<FlowMonitorCator,Long>,JpaSpecificationExecutor<FlowMonitorCator> {
//营业厅卡顿及业务量分析营业厅卡顿用户数实时(ACTIVE_ACCOUNT_CNT:全部活跃用户数 TIME1_ACCOUNT_CNT:无法使用坐席数 TIME2_ACCOUNT_CNT:可容忍坐席数 TIME3_ACCOUNT_CNT:不满意坐席数)
@Query(value="select STATS_TIME, sum(TIME1_ACCOUNT_CNT) as TIME1_ACCOUNT_CNT,sum(TIME2_ACCOUNT_CNT) as TIME2_ACCOUNT_CNT,sum(TIME3_ACCOUNT_CNT) as TIME3_ACCOUNT_CNT from ccolap.app_sm_db_province_kpi_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24 group by STATS_TIME order by STATS_TIME", nativeQuery=true)
@Query(value="select STATS_TIME, sum(TIME1_ACCOUNT_CNT) as TIME1_ACCOUNT_CNT,sum(TIME2_ACCOUNT_CNT) as TIME2_ACCOUNT_CNT," +
"sum(TIME3_ACCOUNT_CNT) as TIME3_ACCOUNT_CNT from " +
"ccolap.app_sm_db_province_kpi_t where STATS_TIME>=now()-34/24 and STATS_TIME<now()-4/24 group by STATS_TIME order by STATS_TIME", nativeQuery=true)
List<Object[]> catonUser();
//营业厅卡顿及业务量分析营业厅卡顿用户数当月1号到当前时间
......
......@@ -18,39 +18,39 @@ public interface FlowMonitorDao extends PagingAndSortingRepository<FlowMonitor,L
List<Object[]> seatsActivenessMonth();
//地市性能稳定率分析实时(Q1:最小值,Q2:下四分位数,Q3:中位数,Q4:上四分位数,Q5:最大值,L1:下边缘值,L5:上边缘值)
@Query(value="SELECT A.CITY,L1,Q2,Q3,Q4,L5,PERCENT FROM\n" +
"(select distinct\n" +
"Q4+1.5*(Q4-Q2) AS L5,--上边缘值\n" +
"Q2-1.5*(Q4-Q2) AS L1,--下边缘值\n" +
"Q2,Q3,Q4,CITY from(SELECT \n" +
"PERCENTILE_CONT(0) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q1,--最小值\n" +
"PERCENTILE_CONT(.25) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q2,--下四分位数\n" +
"PERCENTILE_CONT(.5) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q3,--中位数\n" +
"PERCENTILE_CONT(.75) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q4,--上四分位数\n" +
"PERCENTILE_CONT(1) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q5,--最大值\n" +
"CITY from (select TIME_AVG,CITY from\n" +
"(select TIME_AVG,CITY,rank()over(order by STATS_TIME desc) as rank\n" +
"from ccolap.app_sm_db_city_kpi_t )a where rank=1)a)b)A,\n" +
"(select cast (round(sum(TIMEOUT_CNT)/sum(TRANS_CNT)*100,2) as numeric (18,2)) as percent,CITY from\n" +
"(select TRANS_CNT,TIMEOUT_CNT,CITY,rank()over(order by STATS_TIME desc) as rank\n" +
"from ccolap.app_sm_db_city_kpi_t )a where rank=1 group by CITY)B WHERE A.CITY=B.CITY ORDER BY PERCENT DESC", nativeQuery=true)
@Query(value="SELECT A.CITY,L1,Q2,Q3,Q4,L5,PERCENT FROM " +
" (select distinct" +
" Q4+1.5*(Q4-Q2) AS L5," +
" Q2-1.5*(Q4-Q2) AS L1," +
" Q2,Q3,Q4,CITY from(SELECT " +
" PERCENTILE_CONT(0) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q1," +
" PERCENTILE_CONT(.25) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q2," +
" PERCENTILE_CONT(.5) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q3," +
" PERCENTILE_CONT(.75) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q4," +
" PERCENTILE_CONT(1) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q5," +
" CITY from (select TIME_AVG,CITY from" +
" (select TIME_AVG,CITY,rank()over(order by STATS_TIME desc) as rank " +
" from ccolap.app_sm_db_city_kpi_t where stats_time >=trunc(sysdate))a where rank=1)a)b)A," +
" (select cast (round(sum(TIMEOUT_CNT)/sum(TRANS_CNT)*100,2) as numeric (18,2)) as percent,CITY from" +
" (select TRANS_CNT,TIMEOUT_CNT,CITY,rank()over(order by STATS_TIME desc) as rank " +
" from ccolap.app_sm_db_city_kpi_t )a where rank=1 group by CITY)B WHERE A.CITY=B.CITY ORDER BY PERCENT DESC", nativeQuery=true)
List<Object[]> performanceStability();
//地市性能稳定率分析当月1号到当前时间(Q1:最小值,Q2:下四分位数,Q3:中位数,Q4:上四分位数,Q5:最大值,L1:下边缘值,L5:上边缘值)
@Query(value="SELECT A.CITY,L1,Q2,Q3,Q4,L5,PERCENT FROM\n" +
"(select distinct\n" +
"Q4+1.5*(Q4-Q2) AS L5,--上边缘值\n" +
"Q2-1.5*(Q4-Q2) AS L1,--下边缘值\n" +
"Q2,Q3,Q4,CITY from(SELECT \n" +
"PERCENTILE_CONT(0) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q1,--最小值\n" +
"PERCENTILE_CONT(.25) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q2,--下四分位数\n" +
"PERCENTILE_CONT(.5) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q3,--中位数\n" +
"PERCENTILE_CONT(.75) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q4,--上四分位数\n" +
"PERCENTILE_CONT(1) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q5,--最大值\n" +
"CITY from (select TIME_AVG,CITY from\n" +
"ccolap.app_sm_db_city_kpi_t where STATS_TIME>=trunc(sysdate,'mm'))a)b)A,\n" +
"(select cast (round(sum(TIMEOUT_CNT)/sum(TRANS_CNT)*100,2) as numeric (18,2)) as percent,CITY \n" +
"from ccolap.app_sm_db_city_kpi_t where STATS_TIME>=trunc(sysdate,'mm') group by CITY)B WHERE A.CITY=B.CITY ORDER BY PERCENT DESC", nativeQuery=true)
" (select distinct\n" +
" Q4+1.5*(Q4-Q2) AS L5,--上边缘值\n" +
" Q2-1.5*(Q4-Q2) AS L1,--下边缘值\n" +
" Q2,Q3,Q4,CITY from(SELECT \n" +
" PERCENTILE_CONT(0) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q1,--最小值\n" +
" PERCENTILE_CONT(.25) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q2,--下四分位数\n" +
" PERCENTILE_CONT(.5) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q3,--中位数\n" +
" PERCENTILE_CONT(.75) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q4,--上四分位数\n" +
" PERCENTILE_CONT(1) WITHIN GROUP (ORDER BY TIME_AVG) over (PARTITION BY CITY) AS Q5,--最大值\n" +
" CITY from (select TIME_AVG,CITY from\n" +
" ccolap.app_sm_db_city_kpi_t where STATS_TIME>=trunc(sysdate,'mm'))a)b)A,\n" +
" (select cast (round(sum(TIMEOUT_CNT)/sum(TRANS_CNT)*100,2) as numeric (18,2)) as percent,CITY \n" +
" from ccolap.app_sm_db_city_kpi_t where STATS_TIME>=trunc(sysdate,'mm') group by CITY)B WHERE A.CITY=B.CITY ORDER BY PERCENT DESC", nativeQuery=true)
List<Object[]> performanceStabilityMonth();
}
......@@ -5,6 +5,8 @@ import com.hp.cmsz.entity.Province;
import com.hp.cmsz.repository.*;
import com.hp.cmsz.service.CmszOperationLogService;
import com.hp.cmsz.web.PageURLController;
import org.apache.poi.ss.formula.functions.T;
import org.apache.poi.util.ArrayUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
......@@ -145,30 +147,63 @@ public class FlowMonitorController {
@RequestMapping(value = "/businessOffice",method = RequestMethod.GET)
@ResponseBody
public List<List<Object[]>> findBusinessOffice(HttpServletRequest request, HttpServletResponse response) throws ParseException, UnsupportedEncodingException {
List<Object[]> businessOfficeList = new ArrayList<Object[]>();
List<List<Object[]>> list = new ArrayList<List<Object[]>>();
List<String> hallList = new ArrayList<String>();
hallList = flowHallBusinessDao.hall();
for(String hall : hallList){
businessOfficeList = flowHallBusinessDao.businessOffice(hall);
list.add(businessOfficeList);
// List<Object[]> businessOfficeList = new ArrayList<Object[]>();
// List<List<Object[]>> list = new ArrayList<List<Object[]>>();
// List<String> hallList = new ArrayList<String>();
// hallList = flowHallBusinessDao.hall();
// for(String hall : hallList){
//// businessOfficeList = flowHallBusinessDao.businessOffice(hall);
// list.add(businessOfficeList);
// }
List<Object[]> ipList = flowHallBusinessDao.businessOffice();
String tmp = (String) ipList.get(0)[1];
List<List<Object[]>> result= new ArrayList<List<Object[]>>();
result.add(new ArrayList<Object[]>());
int k=0;
for(int i=0;i<ipList.size();i++){
if(tmp.equals(ipList.get(i)[1])){
result.get(k).add(ipList.get(i));
}else{
result.add(new ArrayList<Object[]>());
k++;
tmp = (String) ipList.get(i)[1];
result.get(k).add(ipList.get(i));
}
}
return list;
return result;
}
//营业厅业务量分析当月
@RequestMapping(value = "/businessOfficeMonth",method = RequestMethod.GET)
@ResponseBody
public List<List<Object[]>> findBusinessOfficeMonth(HttpServletRequest request, HttpServletResponse response) throws ParseException, UnsupportedEncodingException {
List<Object[]> businessOfficeMonthList = new ArrayList<Object[]>();
List<String> hallList = new ArrayList<String>();
List<List<Object[]>> list = new ArrayList<List<Object[]>>();
hallList = flowHallBusinessDao.hallMonth();
for(String hall : hallList) {
businessOfficeMonthList = flowHallBusinessDao.businessOfficeMonth(hall);
list.add(businessOfficeMonthList);
// List<Object[]> businessOfficeMonthList = new ArrayList<Object[]>();
// List<String> hallList = new ArrayList<String>();
// List<List<Object[]>> list = new ArrayList<List<Object[]>>();
// hallList = flowHallBusinessDao.hallMonth();
// for(String hall : hallList) {
// businessOfficeMonthList = flowHallBusinessDao.businessOfficeMonth(hall);
// list.add(businessOfficeMonthList);
// }
List<Object[]> ipList = flowHallBusinessDao.businessOffice();
String tmp = (String) ipList.get(0)[1];
List<List<Object[]>> result= new ArrayList<List<Object[]>>();
result.add(new ArrayList<Object[]>());
int k=0;
for(int i=0;i<ipList.size();i++){
if(tmp.equals(ipList.get(i)[1])){
result.get(k).add(ipList.get(i));
}else{
result.add(new ArrayList<Object[]>());
k++;
tmp = (String) ipList.get(i)[1];
result.get(k).add(ipList.get(i));
}
}
return list;
return result;
}
//坐席*接待客户分析
......@@ -229,32 +264,45 @@ public class FlowMonitorController {
@RequestMapping(value = "/ipTrend",method = RequestMethod.GET)
@ResponseBody
public List<List<Object[]>> findIpTrend(HttpServletRequest request, HttpServletResponse response) throws ParseException, UnsupportedEncodingException {
List<String> ipList = new ArrayList<String>();
List<List<Object[]>> list = new ArrayList<List<Object[]>>();
ipList = flowClientDao.findIp();
for(String ip : ipList){
System.out.println("123");
List<Object[]> ipTrendList = flowClientDao.ipTrend(ip);
list.add(ipTrendList);
List<Object[]> ipList = flowClientDao.ipTrend();
String tmp = (String) ipList.get(0)[1];
List<List<Object[]>> result= new ArrayList<List<Object[]>>();
result.add(new ArrayList<Object[]>());
int k=0;
for(int i=0;i<ipList.size();i++){
if(tmp.equals(ipList.get(i)[1])){
result.get(k).add(ipList.get(i));
}else{
result.add(new ArrayList<Object[]>());
k++;
tmp = (String) ipList.get(i)[1];
result.get(k).add(ipList.get(i));
}
}
return list;
return result;
}
//用户IP趋势图当月
@RequestMapping(value = "/ipTrendMonth",method = RequestMethod.GET)
@ResponseBody
public List<List<Object[]>> findIpTrendMonth(HttpServletRequest request, HttpServletResponse response) throws ParseException, UnsupportedEncodingException {
List<String> ipList = new ArrayList<String>();
List<List<Object[]>> list = new ArrayList<List<Object[]>>();
List<Object[]> ipTrendMonthList = new ArrayList<Object[]>();
ipList = flowClientDao.findIp();
for(String ip : ipList){
ipTrendMonthList = flowClientDao.ipTrendMonth(ip);
list.add(ipTrendMonthList);
List<Object[]> ipList = flowClientDao.ipTrend();
String tmp = (String) ipList.get(0)[1];
List<List<Object[]>> result= new ArrayList<List<Object[]>>();
result.add(new ArrayList<Object[]>());
int k=0;
for(int i=0;i<ipList.size();i++){
if(tmp.equals(ipList.get(i)[1])){
result.get(k).add(ipList.get(i));
}else{
result.add(new ArrayList<Object[]>());
k++;
tmp = (String) ipList.get(i)[1];
result.get(k).add(ipList.get(i));
}
}
return list;
return result;
}
//服务器实例分析:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment