Commit 9fe6b58d authored by 胡斌's avatar 胡斌

过滤规则维护页面编写

parent c8358d99
...@@ -7,10 +7,21 @@ ...@@ -7,10 +7,21 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" readonly="true" id="729f43c8-1bb9-40d5-9567-47c5307fe3f5" name="Default" comment=""> <list default="true" readonly="true" id="729f43c8-1bb9-40d5-9567-47c5307fe3f5" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/com/hp/cmsz/repository/BusinessDao.class" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/com/hp/cmsz/repository/BusinessDao.class" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/com/hp/cmsz/repository/KpiDao.class" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/com/hp/cmsz/repository/KpiDao.class" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/CmszMonitorAnalysis.iml" afterPath="$PROJECT_DIR$/CmszMonitorAnalysis.iml" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/FilterRule.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/FilterRule.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/BusinessDao.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/BusinessDao.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/KpiDao.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/KpiDao.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/FilterRuleService.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/FilterRuleService.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleMaintainController.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleMaintainController.java" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleMaintainController.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleMaintainController.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleResultController.java" afterPath="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleResultController.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ChannelTag.tag" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ChannelTag.tag" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ProvinceTag.tag" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ProvinceTag.tag" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ProvinceTag.tag" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ProvinceTag.tag" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleMaintain.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleMaintain.jsp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleResult.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleResult.jsp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskList.jsp" afterPath="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskList.jsp" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/webapp/static/js/filterResultDetailTable.js" afterPath="$PROJECT_DIR$/src/main/webapp/static/js/filterResultDetailTable.js" />
</list> </list>
<ignored path="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/" /> <ignored path="$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/" />
<ignored path="$PROJECT_DIR$/target/" /> <ignored path="$PROJECT_DIR$/target/" />
...@@ -26,41 +37,68 @@ ...@@ -26,41 +37,68 @@
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="FilterRuleMaintainController.java" pinned="false" current-in-tab="false"> <file leaf-file-name="FilterRuleResult.jsp" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleMaintainController.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleResult.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="159">
<caret line="245" column="28" lean-forward="true" selection-start-line="245" selection-start-column="28" selection-end-line="245" selection-end-column="28" />
<folding>
<element signature="n#div#1;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#div#1;n#body#0;n#html#0;n#!!top" expanded="false" />
<element signature="n#c:forEach#2;n#jsp:root#0;n#!!top" expanded="false" />
<element signature="n#c:forEach#3;n#jsp:root#0;n#!!top" expanded="false" />
<element signature="n#c:forEach#4;n#jsp:root#0;n#!!top" expanded="false" />
<element signature="n#c:forEach#7;n#jsp:root#0;n#!!top" expanded="false" />
<element signature="e#7049#7111#0#HTML" expanded="false" />
<element signature="e#7203#7262#0#HTML" expanded="false" />
<element signature="e#7353#7793#0#HTML" expanded="false" />
<element signature="e#7841#8348#0#HTML" expanded="false" />
<element signature="e#8399#9075#0#HTML" expanded="false" />
<element signature="e#9408#9470#0#HTML" expanded="false" />
<element signature="e#9562#9621#0#HTML" expanded="false" />
<element signature="e#9712#10152#0#HTML" expanded="false" />
<element signature="e#10727#10956#0#HTML" expanded="false" />
<element signature="e#10997#11285#0#HTML" expanded="false" />
<element signature="e#11326#11607#0#HTML" expanded="false" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="FilterRuleResultController.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleResultController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="262"> <state relative-caret-position="128">
<caret line="44" column="31" lean-forward="false" selection-start-line="44" selection-start-column="19" selection-end-line="44" selection-end-column="31" /> <caret line="70" column="67" lean-forward="true" selection-start-line="70" selection-start-column="43" selection-end-line="70" selection-end-column="67" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="FilterRuleMaintain.jsp" pinned="false" current-in-tab="false"> <file leaf-file-name="KpiDao.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleMaintain.jsp"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/KpiDao.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240"> <state relative-caret-position="45">
<caret line="55" column="55" lean-forward="true" selection-start-line="55" selection-start-column="55" selection-end-line="55" selection-end-column="55" /> <caret line="31" column="34" lean-forward="false" selection-start-line="31" selection-start-column="17" selection-end-line="31" selection-end-column="34" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="ProvinceTag.tag" pinned="false" current-in-tab="true"> <file leaf-file-name="Kpi.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ProvinceTag.tag"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/Kpi.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="264"> <state relative-caret-position="207">
<caret line="11" column="31" lean-forward="true" selection-start-line="11" selection-start-column="31" selection-end-line="11" selection-end-column="31" /> <caret line="36" column="26" lean-forward="false" selection-start-line="36" selection-start-column="19" selection-end-line="36" selection-end-column="26" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="InsideXcdController.java" pinned="false" current-in-tab="false"> <file leaf-file-name="DataSource.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/InsideXcdController.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/DataSource.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="327"> <state relative-caret-position="255">
<caret line="63" column="40" lean-forward="true" selection-start-line="58" selection-start-column="4" selection-end-line="63" selection-end-column="40" /> <caret line="22" column="29" lean-forward="false" selection-start-line="22" selection-start-column="17" selection-end-line="22" selection-end-column="29" />
<folding /> <folding />
</state> </state>
</provider> </provider>
...@@ -79,29 +117,6 @@ ...@@ -79,29 +117,6 @@
</component> </component>
<component name="FindInProjectRecents"> <component name="FindInProjectRecents">
<findStrings> <findStrings>
<find>provinceId</find>
<find>provinceView</find>
<find>channelStatus</find>
<find>DimKpiView</find>
<find>preview</find>
<find>getModelParameterList</find>
<find>queryResultFrame</find>
<find>location</find>
<find>rserv</find>
<find>RC</find>
<find>perl</find>
<find>RConnection</find>
<find>for</find>
<find>taskContext</find>
<find>format</find>
<find>forma</find>
<find>ewarning</find>
<find>taskFormFrame</find>
<find>taskDeleteFrame</find>
<find>dialog</find>
<find>taskListFrame</find>
<find>FXJM_DATA_MODEL_INFO_T</find>
<find>run_task_t</find>
<find>.APP_EWARNING_CALC_RESULT_T</find> <find>.APP_EWARNING_CALC_RESULT_T</find>
<find>dataModelParameterList</find> <find>dataModelParameterList</find>
<find>\n</find> <find>\n</find>
...@@ -109,9 +124,33 @@ ...@@ -109,9 +124,33 @@
<find>addTr</find> <find>addTr</find>
<find>AnalysisSupport/QualityRuleResult</find> <find>AnalysisSupport/QualityRuleResult</find>
<find>findAccuracy</find> <find>findAccuracy</find>
<find>ruleSubmit</find>
<find>form-control</find>
<find>alert</find>
<find>ifRepeate</find>
<find>ruleMaintainForm</find>
<find>dataSource</find>
<find>kpiinput</find>
<find>ajax</find>
<find>submit</find>
<find>FilterRuleMaintain</find>
<find>FilterRuleResult</find>
<find>businesstd</find>
<find>filterRules</find>
<find>findKpiByBusinessId</find>
<find>entityManagerFactory</find>
<find>unit</find>
<find>filterRuleViewList</find>
<find>allProvince</find>
<find>()</find>
<find>pagging</find>
<find>getBusiness</find>
<find>showBusiness</find>
<find>'Y'</find>
</findStrings> </findStrings>
<replaceStrings> <replaceStrings>
<replace>InsideXcdWorkingOrderInfoView</replace> <replace>InsideXcdWorkingOrderInfoView</replace>
<replace>alertMsg</replace>
</replaceStrings> </replaceStrings>
</component> </component>
<component name="Git.Settings"> <component name="Git.Settings">
...@@ -131,17 +170,6 @@ ...@@ -131,17 +170,6 @@
<component name="IdeDocumentHistory"> <component name="IdeDocumentHistory">
<option name="CHANGED_PATHS"> <option name="CHANGED_PATHS">
<list> <list>
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/InsideXcdWorkingOrderInfoVieDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/InsideXcdWorkingOrderInfoDap.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/GjfxRelatedInsideWorkingOrder.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/InsideXcdWorkingOrderInfo.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/InsideXcdWorkingOrderInfoDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/monitoroperation/XcdWorkingOrderInfoService.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/InsideXcdWorkingOrderInfoView.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/monitoroperation/XcdWarningInfoViewService.java" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/docx4j-3.1.0.jar!/org/docx4j/openpackaging/packages/OpcPackage.class" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderCreate.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/static/js/modelResultDetailTable.js" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/monitoroperation/InsideXcdWorkingOrderInfoViewService.java" /> <option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/monitoroperation/InsideXcdWorkingOrderInfoViewService.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/InsideXcdWorkingOrderInfoViewDao.java" /> <option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/InsideXcdWorkingOrderInfoViewDao.java" />
<option value="$PROJECT_DIR$/build.xml" /> <option value="$PROJECT_DIR$/build.xml" />
...@@ -169,7 +197,6 @@ ...@@ -169,7 +197,6 @@
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/Channel.java" /> <option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/Channel.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/DataSource.java" /> <option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/DataSource.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/Business.java" /> <option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/Business.java" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskList.jsp" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/ModelParameterDao.java" /> <option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/ModelParameterDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/APPEWarningDetail.java" /> <option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/APPEWarningDetail.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/commonmanage/EWarningCalcResult.java" /> <option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/commonmanage/EWarningCalcResult.java" />
...@@ -178,10 +205,22 @@ ...@@ -178,10 +205,22 @@
<option value="$PROJECT_DIR$/src/main/webapp/static/js/validation.js" /> <option value="$PROJECT_DIR$/src/main/webapp/static/js/validation.js" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/commonmanage/TaskManageController.java" /> <option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/commonmanage/TaskManageController.java" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskForm.jsp" /> <option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskForm.jsp" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleMaintainController.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleResultController.java" /> <option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleResultController.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleMaintainController.java" /> <option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskList.jsp" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleMaintainController.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleService.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FilterRuleDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/FilterRuleService.java" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleMaintain.jsp" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ProvinceTag.tag" /> <option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ProvinceTag.tag" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/FilterRule.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/BusinessDao.java" />
<option value="$PROJECT_DIR$/src/main/webapp/static/js/filterResultDetailTable.js" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ChannelTag.tag" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/KpiDao.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleResultController.java" />
<option value="$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleMaintainController.java" />
<option value="$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleResult.jsp" />
</list> </list>
</option> </option>
</component> </component>
...@@ -226,8 +265,8 @@ ...@@ -226,8 +265,8 @@
</treeState> </treeState>
</component> </component>
<component name="ProjectFrameBounds" extendedState="6"> <component name="ProjectFrameBounds" extendedState="6">
<option name="x" value="-8" /> <option name="x" value="191" />
<option name="y" value="-8" /> <option name="y" value="-12" />
<option name="width" value="1380" /> <option name="width" value="1380" />
<option name="height" value="744" /> <option name="height" value="744" />
</component> </component>
...@@ -247,8 +286,9 @@ ...@@ -247,8 +286,9 @@
<foldersAlwaysOnTop value="true" /> <foldersAlwaysOnTop value="true" />
</navigator> </navigator>
<panes> <panes>
<pane id="PackagesPane" /> <pane id="Scope" />
<pane id="Scratches" /> <pane id="Scratches" />
<pane id="AndroidView" />
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<expand> <expand>
...@@ -256,101 +296,11 @@ ...@@ -256,101 +296,11 @@
<item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" /> <item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" />
<item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" /> <item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" />
</path> </path>
<path>
<item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" />
<item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" />
<item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" />
<item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" />
<item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="com" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" />
<item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="com" type="462c0819:PsiDirectoryNode" />
<item name="cmsz" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" />
<item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="com" type="462c0819:PsiDirectoryNode" />
<item name="cmsz" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" />
<item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="com" type="462c0819:PsiDirectoryNode" />
<item name="cmsz" type="462c0819:PsiDirectoryNode" />
<item name="web" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" />
<item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="java" type="462c0819:PsiDirectoryNode" />
<item name="com" type="462c0819:PsiDirectoryNode" />
<item name="cmsz" type="462c0819:PsiDirectoryNode" />
<item name="web" type="462c0819:PsiDirectoryNode" />
<item name="monitoroperation" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" />
<item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="webapp" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" />
<item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="webapp" type="462c0819:PsiDirectoryNode" />
<item name="WEB-INF" type="462c0819:PsiDirectoryNode" />
</path>
<path>
<item name="monitorAnalysis" type="b2602c69:ProjectViewProjectNode" />
<item name="monitorAnalysis" type="462c0819:PsiDirectoryNode" />
<item name="src" type="462c0819:PsiDirectoryNode" />
<item name="main" type="462c0819:PsiDirectoryNode" />
<item name="webapp" type="462c0819:PsiDirectoryNode" />
<item name="WEB-INF" type="462c0819:PsiDirectoryNode" />
<item name="views" type="462c0819:PsiDirectoryNode" />
</path>
</expand> </expand>
<select /> <select />
</subPane> </subPane>
</pane> </pane>
<pane id="AndroidView" /> <pane id="PackagesPane" />
<pane id="Scope" />
</panes> </panes>
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
...@@ -362,7 +312,7 @@ ...@@ -362,7 +312,7 @@
<property name="last_opened_file_path" value="$PROJECT_DIR$/lib/servlet-api.jar!/" /> <property name="last_opened_file_path" value="$PROJECT_DIR$/lib/servlet-api.jar!/" />
<property name="settings.editor.selected.configurable" value="vcs.Git" /> <property name="settings.editor.selected.configurable" value="vcs.Git" />
<property name="ignore_missing_gitignore" value="true" /> <property name="ignore_missing_gitignore" value="true" />
<property name="SearchEverywhereHistoryKey" value="&#9;FILE&#9;file://D:/代码/智能分析平台/CmszMonitorAnalysis/trunk/src/main/java/com/hp/cmsz/web/monitoroperation/InsideXcdController.java&#10;afe&#9;PSI&#9;JAVA://org.apache.fop.afp.AFPEventProducer&#10;hea&#9;FILE&#9;file://D:/代码/智能分析平台/CmszMonitorAnalysis/trunk/src/main/webapp/WEB-INF/layouts/header.jsp" /> <property name="SearchEverywhereHistoryKey" value="POST&#9;FILE&#9;jar://E:/Code/monitorAnalysis/src/main/webapp/WEB-INF/lib/batik-svggen-1.7.jar!/org/apache/batik/svggen/font/table/PostTable.class&#10;serialize&#9;PSI&#9;JAVA://org.elasticsearch.common.collect.ImmutableAsList.SerializedForm&#10;afe&#9;PSI&#9;JAVA://org.apache.fop.afp.AFPEventProducer&#10;hea&#9;FILE&#9;file://D:/代码/智能分析平台/CmszMonitorAnalysis/trunk/src/main/webapp/WEB-INF/layouts/header.jsp" />
<property name="jsx.switch.disabled" value="true" /> <property name="jsx.switch.disabled" value="true" />
</component> </component>
<component name="RecentsManager"> <component name="RecentsManager">
...@@ -612,6 +562,7 @@ ...@@ -612,6 +562,7 @@
<workItem from="1512188402032" duration="982000" /> <workItem from="1512188402032" duration="982000" />
<workItem from="1512189513405" duration="1759000" /> <workItem from="1512189513405" duration="1759000" />
<workItem from="1512192653380" duration="2572000" /> <workItem from="1512192653380" duration="2572000" />
<workItem from="1512205059832" duration="47144000" />
</task> </task>
<task id="LOCAL-00001" summary="first commit"> <task id="LOCAL-00001" summary="first commit">
<created>1507828551888</created> <created>1507828551888</created>
...@@ -708,7 +659,7 @@ ...@@ -708,7 +659,7 @@
<servers /> <servers />
</component> </component>
<component name="TimeTrackingManager"> <component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="300986000" /> <option name="totallyTimeSpent" value="348130000" />
</component> </component>
<component name="TodoView"> <component name="TodoView">
<todo-panel id="selected-file"> <todo-panel id="selected-file">
...@@ -732,18 +683,18 @@ ...@@ -732,18 +683,18 @@
<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="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.24963397" 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.24963397" 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="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.38580248" 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.4398148" 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.32837838" sideWeight="0.5" order="6" 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.32837838" 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.3206951" sideWeight="0.5" order="10" 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.31790122" 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="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="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.32840723" sideWeight="0.5" order="11" 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.32840723" 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="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.66512346" sideWeight="0.4939394" 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.53858024" sideWeight="0.4939394" 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="true" show_stripe_button="true" weight="0.27314815" sideWeight="0.49545455" order="12" 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.27314815" sideWeight="0.49545455" order="12" 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="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="13" 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="14" 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="14" 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.26399395" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2677761" 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.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <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.33" 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" /> <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" />
<window_info id="Theme Preview" 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="8" side_tool="false" content_ui="tabs" /> <window_info id="Theme Preview" 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="8" side_tool="false" content_ui="tabs" />
...@@ -862,9 +813,13 @@ ...@@ -862,9 +813,13 @@
<option name="timeStamp" value="17" /> <option name="timeStamp" value="17" />
</line-breakpoint> </line-breakpoint>
</breakpoints> </breakpoints>
<option name="time" value="28" /> <option name="time" value="53" />
</breakpoint-manager> </breakpoint-manager>
<watches-manager /> <watches-manager>
<configuration name="#com.intellij.j2ee.web.tomcat.TomcatRunConfigurationFactory">
<watch expression="((java.text.SimpleDateFormat[])this.formats)[0]" custom="javax.servlet.http.HttpServletRequest,org.apache.shiro.web.servlet.ShiroHttpServletRequest,com.hp.cmsz.commons.filter.XssHttpServletRequestWrapper,java.text.SimpleDateFormat[]" />
</configuration>
</watches-manager>
</component> </component>
<component name="antWorkspaceConfiguration"> <component name="antWorkspaceConfiguration">
<option name="IS_AUTOSCROLL_TO_SOURCE" value="false" /> <option name="IS_AUTOSCROLL_TO_SOURCE" value="false" />
...@@ -879,373 +834,455 @@ ...@@ -879,373 +834,455 @@
</buildFile> </buildFile>
</component> </component>
<component name="editorHistoryManager"> <component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/src/main/webapp/static/js/xcdChangeTable.js"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/ModelMonitorHome.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="440"> <state relative-caret-position="-2032">
<caret line="26" column="0" lean-forward="true" selection-start-line="14" selection-start-column="0" selection-end-line="26" selection-end-column="0" /> <caret line="83" column="19" lean-forward="false" selection-start-line="83" selection-start-column="14" selection-end-line="83" selection-end-column="19" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/static/js/modelResultDetailTable.js"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskForm.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="238"> <state relative-caret-position="240">
<caret line="20" column="0" lean-forward="false" selection-start-line="20" selection-start-column="0" selection-end-line="20" selection-end-column="0" /> <caret line="121" column="64" lean-forward="true" selection-start-line="121" selection-start-column="37" selection-end-line="121" selection-end-column="64" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/static/js/xcdWarningTable.js"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/PzxAnalysisController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-4506"> <state relative-caret-position="-9">
<caret line="124" column="0" lean-forward="false" selection-start-line="124" selection-start-column="0" selection-end-line="125" selection-end-column="40" /> <caret line="71" column="13" lean-forward="false" selection-start-line="71" selection-start-column="13" selection-end-line="71" selection-end-column="13" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="jar://$APPLICATION_HOME_DIR$/lib/idea.jar!/resources/html5-schema/html5/web-forms.rnc"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleConfiguration.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="194"> <state relative-caret-position="189">
<caret line="503" column="16" lean-forward="false" selection-start-line="503" selection-start-column="16" selection-end-line="503" selection-end-column="16" /> <caret line="442" column="72" lean-forward="false" selection-start-line="442" selection-start-column="64" selection-end-line="442" selection-end-column="72" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderManage.jsp"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/modelmanage/ModelMaintainController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="22"> <state relative-caret-position="399">
<caret line="1177" column="0" lean-forward="false" selection-start-line="1177" selection-start-column="0" selection-end-line="1177" selection-end-column="0" /> <caret line="119" column="91" lean-forward="false" selection-start-line="119" selection-start-column="84" selection-end-line="119" selection-end-column="91" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/static/artDialog4.1.7/jquery.artDialog.source.js"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/kpiTagController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="260"> <state relative-caret-position="-729">
<caret line="878" column="0" lean-forward="false" selection-start-line="878" selection-start-column="0" selection-end-line="878" selection-end-column="0" /> <caret line="36" column="13" lean-forward="false" selection-start-line="36" selection-start-column="13" selection-end-line="36" selection-end-column="13" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="jar://$APPLICATION_HOME_DIR$/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/DHTML.js"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleMaintain.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="194"> <state relative-caret-position="120">
<caret line="1382" column="0" lean-forward="false" selection-start-line="1382" selection-start-column="0" selection-end-line="1382" selection-end-column="0" /> <caret line="275" column="43" lean-forward="true" selection-start-line="275" selection-start-column="43" selection-end-line="275" selection-end-column="43" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="jar://E:/jdk1.6.0_18/jre/lib/rt.jar!/java/lang/Throwable.class" /> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleMaintainController.java">
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/web.xml">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="4004"> <state relative-caret-position="360">
<caret line="182" column="4" lean-forward="false" selection-start-line="182" selection-start-column="4" selection-end-line="182" selection-end-column="4" /> <caret line="123" column="0" lean-forward="false" selection-start-line="123" selection-start-column="0" selection-end-line="123" selection-end-column="0" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/error/500.jsp"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/JpfxAnalysisController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="220"> <state relative-caret-position="-1692">
<caret line="10" column="14" lean-forward="false" selection-start-line="10" selection-start-column="14" selection-end-line="10" selection-end-column="14" /> <caret line="66" column="13" lean-forward="false" selection-start-line="66" selection-start-column="13" selection-end-line="66" selection-end-column="13" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/DataModel.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderDetail.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="264"> <state relative-caret-position="-9864">
<caret line="20" column="15" lean-forward="false" selection-start-line="20" selection-start-column="15" selection-end-line="20" selection-end-column="15" /> <caret line="87" column="62" lean-forward="true" selection-start-line="87" selection-start-column="62" selection-end-line="87" selection-end-column="62" />
<folding>
<marker date="1512188374539" expanded="true" signature="24226:24239" ph="..." />
<marker date="1512188374539" expanded="true" signature="26170:26183" ph="..." />
<marker date="1512188374539" expanded="true" signature="30315:30373" ph="..." />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/commonmanage/TaskManageController.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/static/js/jquery-1.7.2.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0"> <state relative-caret-position="135">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> <caret line="7201" column="13" lean-forward="false" selection-start-line="7201" selection-start-column="4" selection-end-line="7201" selection-end-column="13" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/commonmanage/RunTaskDetail.java"> <entry file="jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/elasticsearch-1.0.0.jar!/org/elasticsearch/common/collect/ImmutableAsList.class">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="129"> <state relative-caret-position="464">
<caret line="24" column="13" lean-forward="false" selection-start-line="24" selection-start-column="13" selection-end-line="24" selection-end-column="13" /> <caret line="35" column="1" lean-forward="true" selection-start-line="35" selection-start-column="1" selection-end-line="35" selection-end-column="1" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/commonmanage/TaskType.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/static/js/jquery-1.9.1.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="132"> <state relative-caret-position="199">
<caret line="12" column="13" lean-forward="false" selection-start-line="12" selection-start-column="13" selection-end-line="12" selection-end-column="13" /> <caret line="7302" column="4" lean-forward="false" selection-start-line="7302" selection-start-column="4" selection-end-line="7302" selection-end-column="4" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/commonmanage/RunTaskService.java"> <entry file="jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/batik-svggen-1.7.jar!/org/apache/batik/svggen/font/table/PostTable.class">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-66"> <state relative-caret-position="144">
<caret line="134" column="29" lean-forward="false" selection-start-line="134" selection-start-column="19" selection-end-line="134" selection-end-column="29" /> <caret line="7" column="57" lean-forward="true" selection-start-line="7" selection-start-column="57" selection-end-line="7" selection-end-column="57" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/commonmanage/TaskDetailManageController.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/static/nvd3/lib/d3.v3.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="242"> <state relative-caret-position="-33">
<caret line="11" column="41" lean-forward="false" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="53" /> <caret line="2656" column="24" lean-forward="true" selection-start-line="2656" selection-start-column="24" selection-end-line="2656" selection-end-column="24" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/commons/filter/SSOFilter.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/WorkingOrderManage.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="308"> <state relative-caret-position="-2403">
<caret line="38" column="47" lean-forward="false" selection-start-line="38" selection-start-column="47" selection-end-line="38" selection-end-column="47" /> <caret line="838" column="49" lean-forward="false" selection-start-line="838" selection-start-column="45" selection-end-line="838" selection-end-column="49" />
<folding>
<marker date="1512188374539" expanded="true" signature="47293:47349" ph="..." />
<marker date="1512188374539" expanded="true" signature="47572:47583" ph="..." />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/Channel.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleConfigurationController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="282"> <state relative-caret-position="303">
<caret line="32" column="0" lean-forward="false" selection-start-line="32" selection-start-column="0" selection-end-line="32" selection-end-column="0" /> <caret line="209" column="64" lean-forward="true" selection-start-line="209" selection-start-column="16" selection-end-line="209" selection-end-column="64" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/Business.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/TSWBAnalysisController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="84"> <state relative-caret-position="159">
<caret line="15" column="19" lean-forward="false" selection-start-line="15" selection-start-column="19" selection-end-line="15" selection-end-column="19" /> <caret line="91" column="45" lean-forward="true" selection-start-line="91" selection-start-column="45" selection-end-line="95" selection-end-column="64" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/DataSource.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/InsideXcdController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="392"> <state relative-caret-position="831">
<caret line="31" column="0" lean-forward="false" selection-start-line="31" selection-start-column="0" selection-end-line="31" selection-end-column="0" /> <caret line="108" column="86" lean-forward="false" selection-start-line="108" selection-start-column="60" selection-end-line="108" selection-end-column="86" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskListTable.jsp"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleService.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198"> <state relative-caret-position="392">
<caret line="15" column="117" lean-forward="false" selection-start-line="15" selection-start-column="117" selection-end-line="15" selection-end-column="117" /> <caret line="32" column="5" lean-forward="false" selection-start-line="32" selection-start-column="5" selection-end-line="32" selection-end-column="5" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskList.jsp"> <entry file="jar://$PROJECT_DIR$/../jdk1.6.0_18/jre/lib/rt.jar!/java/sql/Timestamp.class">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="406"> <state relative-caret-position="207">
<caret line="146" column="11" lean-forward="false" selection-start-line="146" selection-start-column="11" selection-end-line="146" selection-end-column="11" /> <caret line="22" column="37" lean-forward="false" selection-start-line="22" selection-start-column="37" selection-end-line="22" selection-end-column="37" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/ModelParameterDao.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/FilterRuleDao.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="236"> <state relative-caret-position="264">
<caret line="37" column="55" lean-forward="false" selection-start-line="37" selection-start-column="25" selection-end-line="37" selection-end-column="55" /> <caret line="14" column="41" lean-forward="false" selection-start-line="14" selection-start-column="41" selection-end-line="14" selection-end-column="41" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/commonmanage/EWarningDropRule.java"> <entry file="jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/hibernate-core-4.2.3.Final.jar!/org/hibernate/cfg/Configuration.class">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="330"> <state relative-caret-position="111">
<caret line="25" column="39" lean-forward="true" selection-start-line="18" selection-start-column="4" selection-end-line="25" selection-end-column="39" /> <caret line="219" column="43" lean-forward="false" selection-start-line="219" selection-start-column="43" selection-end-line="219" selection-end-column="43" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/FailureAttachment.java"> <entry file="jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/hibernate-jpa-2.0-api-1.0.1.Final.jar!/javax/persistence/Persistence.class">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="194"> <state relative-caret-position="296">
<caret line="18" column="13" lean-forward="false" selection-start-line="18" selection-start-column="13" selection-end-line="18" selection-end-column="13" /> <caret line="21" column="57" lean-forward="false" selection-start-line="21" selection-start-column="57" selection-end-line="21" selection-end-column="57" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/commonmanage/RunTask.java"> <entry file="file://$PROJECT_DIR$/src/main/resources/application.properties">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-66"> <state relative-caret-position="-712">
<caret line="24" column="13" lean-forward="false" selection-start-line="24" selection-start-column="13" selection-end-line="24" selection-end-column="13" /> <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> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/AppData.java"> <entry file="file://$PROJECT_DIR$/src/main/resources/applicationContext.xml">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="194"> <state relative-caret-position="-72">
<caret line="17" column="13" lean-forward="false" selection-start-line="17" selection-start-column="13" selection-end-line="17" selection-end-column="13" /> <caret line="117" column="34" lean-forward="false" selection-start-line="117" selection-start-column="24" selection-end-line="117" selection-end-column="34" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/commonmanage/APPEWarningDetailDao.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/FilterRuleService.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="88"> <state relative-caret-position="22">
<caret line="6" column="79" lean-forward="false" selection-start-line="6" selection-start-column="79" selection-end-line="6" selection-end-column="79" /> <caret line="16" column="32" lean-forward="true" selection-start-line="16" selection-start-column="32" selection-end-line="16" selection-end-column="32" />
<folding>
<element signature="imports" expanded="false" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/commonmanage/DataBackupDao.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/PageURLController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="242"> <state relative-caret-position="112">
<caret line="14" column="44" lean-forward="true" selection-start-line="13" selection-start-column="31" selection-end-line="14" selection-end-column="44" /> <caret line="191" column="25" lean-forward="false" selection-start-line="191" selection-start-column="25" selection-end-line="191" selection-end-column="25" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/commonmanage/EWarningCalcResult.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/MonitorOperation/InsideXcd.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="418"> <state relative-caret-position="827">
<caret line="38" column="18" lean-forward="false" selection-start-line="38" selection-start-column="18" selection-end-line="38" selection-end-column="18" /> <caret line="302" column="91" lean-forward="true" selection-start-line="302" selection-start-column="8" selection-end-line="302" selection-end-column="91" />
<folding>
<marker date="1512188374535" expanded="true" signature="13862:13918" ph="..." />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/APPEWarningDetail.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskList.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="250"> <state relative-caret-position="217">
<caret line="137" column="27" lean-forward="true" selection-start-line="137" selection-start-column="27" selection-end-line="137" selection-end-column="27" /> <caret line="48" column="47" lean-forward="true" selection-start-line="48" selection-start-column="27" selection-end-line="48" selection-end-column="47" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/ModelMonitorHome.jsp"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/commonmanage/EWarningRuleManageController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-13"> <state relative-caret-position="-1960">
<caret line="83" column="19" lean-forward="false" selection-start-line="83" selection-start-column="14" selection-end-line="83" selection-end-column="19" /> <caret line="75" column="5" lean-forward="true" selection-start-line="75" selection-start-column="5" selection-end-line="75" selection-end-column="5" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/commonmanage/EWarningCalcResultDao.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/commonmanage/TaskManageController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="154"> <state relative-caret-position="264">
<caret line="11" column="55" lean-forward="false" selection-start-line="11" selection-start-column="33" selection-end-line="11" selection-end-column="55" /> <caret line="199" column="7" lean-forward="true" selection-start-line="199" selection-start-column="7" selection-end-line="200" selection-end-column="0" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="jar://$APPLICATION_HOME_DIR$/plugins/JavaScriptLanguage/lib/JavaScriptLanguage.jar!/com/intellij/lang/javascript/index/predefined/EcmaScript.js"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/Province.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="194"> <state relative-caret-position="207">
<caret line="55" column="0" lean-forward="false" selection-start-line="55" selection-start-column="0" selection-end-line="55" selection-end-column="0" /> <caret line="23" column="45" lean-forward="false" selection-start-line="23" selection-start-column="33" selection-end-line="23" selection-end-column="45" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/static/js/validation.js"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/FilterRule.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2464"> <state relative-caret-position="207">
<caret line="112" column="18" lean-forward="false" selection-start-line="112" selection-start-column="11" selection-end-line="112" selection-end-column="18" /> <caret line="20" column="22" lean-forward="false" selection-start-line="20" selection-start-column="17" selection-end-line="20" selection-end-column="22" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleConfigurationController.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/BusinessTag.tag">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="198"> <state relative-caret-position="-504">
<caret line="48" column="14" lean-forward="true" selection-start-line="48" selection-start-column="14" selection-end-line="48" selection-end-column="14" /> <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> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/TaskManage/RunTaskForm.jsp"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/BusinessDao.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="264"> <state relative-caret-position="72">
<caret line="142" column="31" lean-forward="false" selection-start-line="142" selection-start-column="31" selection-end-line="142" selection-end-column="31" /> <caret line="17" column="38" lean-forward="true" selection-start-line="17" selection-start-column="38" selection-end-line="17" selection-end-column="38" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/ModelParameter.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/Channel.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-160"> <state relative-caret-position="207">
<caret line="22" column="28" lean-forward="false" selection-start-line="22" selection-start-column="17" selection-end-line="22" selection-end-column="28" /> <caret line="20" column="13" lean-forward="false" selection-start-line="20" selection-start-column="13" selection-end-line="20" selection-end-column="13" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/commonmanage/TaskManageController.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/Business.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="88"> <state relative-caret-position="279">
<caret line="282" column="0" lean-forward="false" selection-start-line="282" selection-start-column="0" selection-end-line="282" selection-end-column="0" /> <caret line="23" column="39" lean-forward="false" selection-start-line="23" selection-start-column="17" selection-end-line="23" selection-end-column="39" />
<folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleConfiguration.jsp"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/ChannelDataSourceMap.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0"> <state relative-caret-position="303">
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" /> <caret line="23" column="29" lean-forward="false" selection-start-line="23" selection-start-column="17" selection-end-line="23" selection-end-column="29" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleConfigurationController.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/static/js/filterResultDetailTable.js">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="286"> <state relative-caret-position="2727">
<caret line="16" column="13" lean-forward="false" selection-start-line="16" selection-start-column="13" selection-end-line="16" selection-end-column="13" /> <caret line="303" column="37" lean-forward="true" selection-start-line="303" selection-start-column="37" selection-end-line="303" selection-end-column="37" />
<folding /> <folding>
<element signature="e#9420#9542#0" expanded="false" />
<element signature="e#9588#9710#0" expanded="false" />
<element signature="e#9756#9871#0" expanded="false" />
<marker date="1512299889531" expanded="true" signature="10872:10884" ph="..." />
<marker date="1512299889531" expanded="true" signature="17460:17470" ph="..." />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleMaintainController.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ChannelTag.tag">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0"> <state relative-caret-position="576">
<caret line="245" column="49" lean-forward="false" selection-start-line="245" selection-start-column="49" selection-end-line="245" selection-end-column="49" /> <caret line="24" column="48" lean-forward="true" selection-start-line="24" selection-start-column="48" selection-end-line="24" selection-end-column="48" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleResultController.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/GJFX_datasource_channle_business.tag">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="431"> <state relative-caret-position="-576">
<caret line="203" column="38" lean-forward="true" selection-start-line="203" selection-start-column="38" selection-end-line="203" selection-end-column="38" /> <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> <folding />
<element signature="e#2004#2017#0" expanded="true" />
<element signature="e#4704#4710#0" expanded="true" />
<element signature="e#5087#5093#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleResultController.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/DataSource.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="312"> <state relative-caret-position="255">
<caret line="19" column="13" lean-forward="false" selection-start-line="19" selection-start-column="13" selection-end-line="19" selection-end-column="13" /> <caret line="22" column="29" lean-forward="false" selection-start-line="22" selection-start-column="17" selection-end-line="22" selection-end-column="29" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/BussinessTagController.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/Kpi.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-729"> <state relative-caret-position="207">
<caret line="31" column="13" lean-forward="false" selection-start-line="31" selection-start-column="13" selection-end-line="31" selection-end-column="13" /> <caret line="36" column="26" lean-forward="false" selection-start-line="36" selection-start-column="19" selection-end-line="36" selection-end-column="26" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/ChannelTagController.java"> <entry file="jar://$PROJECT_DIR$/src/main/webapp/WEB-INF/lib/spring-data-commons-1.5.1.RELEASE.jar!/org/springframework/data/repository/CrudRepository.class">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="288"> <state relative-caret-position="207">
<caret line="36" column="13" lean-forward="false" selection-start-line="36" selection-start-column="13" selection-end-line="36" selection-end-column="13" /> <caret line="16" column="26" lean-forward="false" selection-start-line="16" selection-start-column="26" selection-end-line="16" selection-end-column="26" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/PzxDetailController.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleMaintain.jsp">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-801"> <state relative-caret-position="165">
<caret line="70" column="13" lean-forward="false" selection-start-line="70" selection-start-column="13" selection-end-line="70" selection-end-column="13" /> <caret line="260" column="40" lean-forward="false" selection-start-line="260" selection-start-column="34" selection-end-line="260" selection-end-column="40" />
<folding /> <folding>
<marker date="1512290362111" expanded="true" signature="6242:6252" ph="..." />
<marker date="1512290362111" expanded="true" signature="12598:12608" ph="..." />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/InsideXcdController.java"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleMaintainController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="327"> <state relative-caret-position="279">
<caret line="63" column="40" lean-forward="true" selection-start-line="58" selection-start-column="4" selection-end-line="63" selection-end-column="40" /> <caret line="74" column="20" lean-forward="true" selection-start-line="74" selection-start-column="20" selection-end-line="74" selection-end-column="20" />
<folding /> <folding>
<element signature="e#3339#3351#0" expanded="true" />
</folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleMaintainController.java"> <entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ProvinceTag.tag">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="262"> <state relative-caret-position="192">
<caret line="44" column="31" lean-forward="false" selection-start-line="44" selection-start-column="19" selection-end-line="44" selection-end-column="31" /> <caret line="8" column="81" lean-forward="false" selection-start-line="8" selection-start-column="73" selection-end-line="8" selection-end-column="81" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleMaintain.jsp"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/KpiDao.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="240"> <state relative-caret-position="45">
<caret line="55" column="55" lean-forward="true" selection-start-line="55" selection-start-column="55" selection-end-line="55" selection-end-column="55" /> <caret line="31" column="34" lean-forward="false" selection-start-line="31" selection-start-column="17" selection-end-line="31" selection-end-column="34" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/ProvinceTag.tag"> <entry file="file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleResultController.java">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="264"> <state relative-caret-position="128">
<caret line="11" column="31" lean-forward="true" selection-start-line="11" selection-start-column="31" selection-end-line="11" selection-end-column="31" /> <caret line="70" column="67" lean-forward="true" selection-start-line="70" selection-start-column="43" selection-end-line="70" selection-end-column="67" />
<folding /> <folding />
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleResult.jsp">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="159">
<caret line="245" column="28" lean-forward="true" selection-start-line="245" selection-start-column="28" selection-end-line="245" selection-end-column="28" />
<folding>
<element signature="n#div#1;n#div#0;n#div#0;n#div#0;n#div#0;n#div#1;n#div#0;n#div#1;n#body#0;n#html#0;n#!!top" expanded="false" />
<element signature="n#c:forEach#2;n#jsp:root#0;n#!!top" expanded="false" />
<element signature="n#c:forEach#3;n#jsp:root#0;n#!!top" expanded="false" />
<element signature="n#c:forEach#4;n#jsp:root#0;n#!!top" expanded="false" />
<element signature="n#c:forEach#7;n#jsp:root#0;n#!!top" expanded="false" />
<element signature="e#7049#7111#0#HTML" expanded="false" />
<element signature="e#7203#7262#0#HTML" expanded="false" />
<element signature="e#7353#7793#0#HTML" expanded="false" />
<element signature="e#7841#8348#0#HTML" expanded="false" />
<element signature="e#8399#9075#0#HTML" expanded="false" />
<element signature="e#9408#9470#0#HTML" expanded="false" />
<element signature="e#9562#9621#0#HTML" expanded="false" />
<element signature="e#9712#10152#0#HTML" expanded="false" />
<element signature="e#10727#10956#0#HTML" expanded="false" />
<element signature="e#10997#11285#0#HTML" expanded="false" />
<element signature="e#11326#11607#0#HTML" expanded="false" />
</folding>
</state>
</provider>
</entry>
</component> </component>
<component name="masterDetails"> <component name="masterDetails">
<states> <states>
......
package com.hp.cmsz.entity; package com.hp.cmsz.entity;
import java.io.Serializable; import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date; import java.util.Date;
import javax.persistence.GeneratedValue; import javax.persistence.*;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
/** /**
* warning_filtering_rule_info_t表对应的实体类 * warning_filtering_rule_info_t表对应的实体类
...@@ -14,24 +13,26 @@ import javax.persistence.SequenceGenerator; ...@@ -14,24 +13,26 @@ import javax.persistence.SequenceGenerator;
* @author Liu Na * @author Liu Na
* *
*/ */
@Entity
@Table(name = "WARNING_FILTERING_RULE_INFO_T",schema = "ccolap")
public class FilterRule implements Serializable{ public class FilterRule implements Serializable{
private Long warningFilteringRuleId;//过滤规则ID private Long warningFilteringRuleId;//过滤规则ID
private Long kpiId;//指标ID private Long kpiId;//指标ID
private Long provinceId;//省份ID private Long provinceId;//省份ID
private Long channelId;//渠道ID private Timestamp filteringStartTime;//过滤开始时间
private Long businessId;//业务ID private Timestamp filteringEndTime;//过滤结束时间
private Date filterStartTime;//过滤开始时间 private String filteringReason;//过滤原因
private Date filterEndTime;//过滤结束时间 private String filteringType;//过滤类型
private String filterReason;//过滤原因 private Timestamp ruleCrtTime;//规则创建时间
private String filterType;//过滤类型 private Timestamp ruleUpdateTime;//规则更新时间
private Date ruleCrtTime;//规则创建时间
private Date ruleUpdateTime;//规则更新时间
private String validFlag;//规则是否有效 private String validFlag;//规则是否有效
private String frequency;//频率
private String ifRepeat;//是否重复
@Id @Id
@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="FilterRuleSequence") @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="FilterRuleSequence")
@SequenceGenerator(name = "FilterRuleSequence", sequenceName = "warning_filtering_rule_info_t_seq", allocationSize=1) @SequenceGenerator(name = "FilterRuleSequence", sequenceName = "WARNING_FILTERING_RULE_SEQ", allocationSize=1)
public Long getWarningFilteringRuleId() { public Long getWarningFilteringRuleId() {
return warningFilteringRuleId; return warningFilteringRuleId;
...@@ -51,59 +52,76 @@ public class FilterRule implements Serializable{ ...@@ -51,59 +52,76 @@ public class FilterRule implements Serializable{
public void setProvinceId(Long provinceId) { public void setProvinceId(Long provinceId) {
this.provinceId = provinceId; this.provinceId = provinceId;
} }
public Long getChannelId() {
return channelId; public Timestamp getFilteringStartTime() {
} return filteringStartTime;
public void setChannelId(Long channelId) {
this.channelId = channelId;
}
public Long getBusinessId() {
return businessId;
}
public void setBusinessId(Long businessId) {
this.businessId = businessId;
}
public Date getFilterStartTime() {
return filterStartTime;
} }
public void setFilterStartTime(Date filterStartTime) {
this.filterStartTime = filterStartTime; public void setFilteringStartTime(Timestamp filteringStartTime) {
this.filteringStartTime = filteringStartTime;
} }
public Date getFilterEndTime() {
return filterEndTime; public Timestamp getFilteringEndTime() {
return filteringEndTime;
} }
public void setFilterEndTime(Date filterEndTime) {
this.filterEndTime = filterEndTime; public void setFilteringEndTime(Timestamp filteringEndTime) {
this.filteringEndTime = filteringEndTime;
} }
public String getFilterReason() {
return filterReason; public String getFilteringReason() {
return filteringReason;
} }
public void setFilterReason(String filterReason) {
this.filterReason = filterReason; public void setFilteringReason(String filteringReason) {
this.filteringReason = filteringReason;
} }
public String getFilterType() {
return filterType; public String getFilteringType() {
return filteringType;
} }
public void setFilterType(String filterType) {
this.filterType = filterType; public void setFilteringType(String filteringType) {
this.filteringType = filteringType;
} }
public Date getRuleCrtTime() {
public Timestamp getRuleCrtTime() {
return ruleCrtTime; return ruleCrtTime;
} }
public void setRuleCrtTime(Date ruleCrtTime) {
public void setRuleCrtTime(Timestamp ruleCrtTime) {
this.ruleCrtTime = ruleCrtTime; this.ruleCrtTime = ruleCrtTime;
} }
public Date getRuleUpdateTime() {
public Timestamp getRuleUpdateTime() {
return ruleUpdateTime; return ruleUpdateTime;
} }
public void setRuleUpdateTime(Date ruleUpdateTime) {
public void setRuleUpdateTime(Timestamp ruleUpdateTime) {
this.ruleUpdateTime = ruleUpdateTime; this.ruleUpdateTime = ruleUpdateTime;
} }
public String getValidFlag() { public String getValidFlag() {
return validFlag; return validFlag;
} }
public void setValidFlag(String validFlag) { public void setValidFlag(String validFlag) {
this.validFlag = validFlag; this.validFlag = validFlag;
} }
public String getFrequency() {
return frequency;
}
public void setFrequency(String frequency) {
this.frequency = frequency;
}
public String getIfRepeat() {
return ifRepeat;
}
public void setIfRepeat(String ifRepeat) {
this.ifRepeat = ifRepeat;
}
} }
...@@ -25,6 +25,10 @@ public interface BusinessDao extends JpaSpecificationExecutor<Business>, ...@@ -25,6 +25,10 @@ public interface BusinessDao extends JpaSpecificationExecutor<Business>,
@Query("select business.businessId, business.businessName from Business business where business.isActive = 'Y' and business.businessId >= 0 order by business.businessId") @Query("select business.businessId, business.businessName from Business business where business.isActive = 'Y' and business.businessId >= 0 order by business.businessId")
List<Object[]> findAllBusinessIdAndBusinessName(); List<Object[]> findAllBusinessIdAndBusinessName();
@Query("from Business business where business.isActive = 'Y' and business.businessId >= 0 order by business.businessId")
List<Business> findAllBusiness();
//加入isActive=N || add by August 2014-3-27 //加入isActive=N || add by August 2014-3-27
//由数据来源和渠道得到业务 //由数据来源和渠道得到业务
@Query("select business.businessId, business.businessName from Business business,ChannelDataSourceMap channelDataSourceMap where business.channelDataSourceMapId=channelDataSourceMap.channelDataSourceMapId and channelDataSourceMap.channelId IN (:channelIdList) and channelDataSourceMap.dataSourceId IN (:datasourceIdList) and business.isActive = 'Y' and business.businessId >= 0 order by business.businessId ") @Query("select business.businessId, business.businessName from Business business,ChannelDataSourceMap channelDataSourceMap where business.channelDataSourceMapId=channelDataSourceMap.channelDataSourceMapId and channelDataSourceMap.channelId IN (:channelIdList) and channelDataSourceMap.dataSourceId IN (:datasourceIdList) and business.isActive = 'Y' and business.businessId >= 0 order by business.businessId ")
......
...@@ -29,6 +29,7 @@ public interface KpiDao extends JpaSpecificationExecutor<Kpi>,PagingAndSortingRe ...@@ -29,6 +29,7 @@ public interface KpiDao extends JpaSpecificationExecutor<Kpi>,PagingAndSortingRe
@Query("select kpi.kpiName, kpi.kpiCode from Kpi kpi where kpi.kpiId = :kpiId") @Query("select kpi.kpiName, kpi.kpiCode from Kpi kpi where kpi.kpiId = :kpiId")
List<Kpi> findKpiCodeAndKpiNameByKpiId(@Param("kpiId") Long kpiId); List<Kpi> findKpiCodeAndKpiNameByKpiId(@Param("kpiId") Long kpiId);
List<Kpi> findAllByIsActive(String active);
@Query("select kpi.kpiId, kpi.kpiName from Kpi kpi where kpi.kpiId >=0") @Query("select kpi.kpiId, kpi.kpiName from Kpi kpi where kpi.kpiId >=0")
List<Object[]> findAllKpiIdAndKpiName(); List<Object[]> findAllKpiIdAndKpiName();
......
package com.hp.cmsz.service.analysissupport; package com.hp.cmsz.service.analysissupport;
import com.hp.cmsz.entity.FilterRule;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import javax.persistence.*;
import java.util.List;
/** /**
* *
* @author Liu Na * @author Liu Na
...@@ -12,4 +16,22 @@ import org.springframework.transaction.annotation.Transactional; ...@@ -12,4 +16,22 @@ import org.springframework.transaction.annotation.Transactional;
@Transactional @Transactional
public class FilterRuleService { public class FilterRuleService {
@PersistenceContext
protected EntityManager em;
@Transactional
public void insertIntoRule(List<FilterRule> filterRules){
long begin = System.currentTimeMillis();
for (int i = 0; i < filterRules.size(); i++) {
em.persist(filterRules.get(i));
if (i % 100 == 0) {
em.flush();
em.clear();
}
}
long end = System.currentTimeMillis();
System.out.println((end-begin)/1000.0);
}
} }
package com.hp.cmsz.web.analysissupport; package com.hp.cmsz.web.analysissupport;
import java.util.List; import java.sql.Timestamp;
import java.util.Map; import java.text.SimpleDateFormat;
import java.util.*;
import com.google.gson.Gson; import com.google.gson.Gson;
import com.hp.cmsz.entity.*; import com.hp.cmsz.entity.*;
import com.hp.cmsz.repository.*; import com.hp.cmsz.repository.*;
import com.hp.cmsz.service.BusinessService; import com.hp.cmsz.service.BusinessService;
import com.hp.cmsz.service.analysissupport.FilterRuleService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.*;
import com.hp.cmsz.web.PageURLController; import com.hp.cmsz.web.PageURLController;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/** /**
* 质量规则维护的新增过滤规则控制类 * 质量规则维护的新增过滤规则控制类
* *
...@@ -48,6 +53,15 @@ public class FilterRuleMaintainController { ...@@ -48,6 +53,15 @@ public class FilterRuleMaintainController {
@Autowired @Autowired
private DataSourceDao dataSourceDao; private DataSourceDao dataSourceDao;
@Autowired
private FilterRuleDao filterRuleDao;
@Autowired
private FilterRuleService filterRuleService;
@RequestMapping(value = "") @RequestMapping(value = "")
public String filterMaintainHome(Map model){ public String filterMaintainHome(Map model){
//查询出所有的省份 //查询出所有的省份
...@@ -55,13 +69,17 @@ public class FilterRuleMaintainController { ...@@ -55,13 +69,17 @@ public class FilterRuleMaintainController {
//查询出所有的渠道信息 //查询出所有的渠道信息
List<Channel> channelList=(List<Channel>)channelDao.findChannel(); List<Channel> channelList=(List<Channel>)channelDao.findChannel();
//查询出所有的指标 //查询出所有的指标
List<Kpi> kpiList=(List<Kpi>)kpiDao.findAll(); List<Kpi> kpiList=(List<Kpi>)kpiDao.findAllByIsActive("Y");
//查询出所有的业务 //查询出所有的业务
List<Object[]> businessList=(List<Object[]>)businessDao.findAllBusinessIdAndBusinessName(); List<Object[]> businessList=(List<Object[]>)businessDao.findAllBusinessIdAndBusinessName();
//查询出所有的数据类型 //查询出所有的数据类型
List<DataType> dataTypeList= (List<DataType>)dataTypeDao.findAll(); List<DataType> dataTypeList= (List<DataType>)dataTypeDao.findAll();
//查询出所有的数据来源 //查询出所有的数据来源
List<DataSource> dataSourceList=(List<DataSource>)dataSourceDao.findAll(); List<DataSource> dataSourceList=(List<DataSource>)dataSourceDao.findAll();
Gson gson = new Gson(); Gson gson = new Gson();
model.put("provinceList", provinceList); model.put("provinceList", provinceList);
model.put("channelList", channelList); model.put("channelList", channelList);
...@@ -69,6 +87,71 @@ public class FilterRuleMaintainController { ...@@ -69,6 +87,71 @@ public class FilterRuleMaintainController {
model.put("businessList", gson.toJson(businessList)); model.put("businessList", gson.toJson(businessList));
model.put("dataTypeList", dataTypeList); model.put("dataTypeList", dataTypeList);
model.put("dataSourceList", dataSourceList); model.put("dataSourceList", dataSourceList);
return PageURLController.FilterMaintain; return PageURLController.FilterMaintain;
} }
@RequestMapping(value = "/createRule",method = RequestMethod.POST)
public void createRule(
@RequestParam(value="province") String province,
@RequestParam(value="dataSource") String dataSource,
@RequestParam(value="channel") String channel,
@RequestParam(value="businessinput") String businessinput,
@RequestParam(value="kpiinput") String kpiinput,
@RequestParam(value="filterStartTime") String filterStartTime,
@RequestParam(value="filterEndTime") String filterEndTime,
@RequestParam(value="ifRepeate") String ifRepeate,
@RequestParam(value="cycle", required=false) String cycle,
@RequestParam(value="cycleUnit", required=false) String cycleUnit,
@RequestParam(value="filterReason") String filterReason,
HttpServletRequest request, HttpServletResponse response){
//查询出所有的数据来源
List<DataSource> dataSourceList=(List<DataSource>)dataSourceDao.findAll();
ifRepeate = ifRepeate.equals("0")?"1":"0";
String [] kpiArr = kpiinput.split(",");
String [] provinceArr = province.split(",");
List<FilterRule> filterRules = new ArrayList<FilterRule>();
for (String p : provinceArr) {
for (String s : kpiArr) {
FilterRule filterRule = new FilterRule();
filterRule.setKpiId(Long.parseLong(s));
filterRule.setFilteringEndTime(Timestamp.valueOf(filterEndTime));
filterRule.setFilteringStartTime(Timestamp.valueOf(filterStartTime));
filterRule.setProvinceId(Long.parseLong(p));
filterRule.setIfRepeat(ifRepeate);
filterRule.setFilteringType("1");
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
filterRule.setRuleCrtTime(Timestamp.valueOf(df.format(new Date())));
filterRule.setRuleUpdateTime(Timestamp.valueOf(df.format(new Date())));
filterRule.setValidFlag("1");
filterRule.setFilteringReason(filterReason);
if("1".equals(ifRepeate)){
if ("0".equals(cycleUnit)) {
filterRule.setFrequency(cycle+"/1440");
}else if ("1".equals(cycleUnit)) {
filterRule.setFrequency(cycle+"/24");
}else if ("2".equals(cycleUnit)) {
filterRule.setFrequency(cycle);
}else if ("3".equals(cycleUnit)) {
filterRule.setFrequency("ADD_MONTH("+cycle+")");
}
}
filterRules.add(filterRule);
}
}
// filterRuleService.insertIntoRule(filterRules);
}
} }
package com.hp.cmsz.web.analysissupport; package com.hp.cmsz.web.analysissupport;
import java.util.List;
import java.util.Map; import java.util.Map;
import com.google.gson.Gson;
import com.hp.cmsz.entity.*;
import com.hp.cmsz.repository.*;
import com.hp.cmsz.service.BusinessService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
...@@ -19,11 +25,67 @@ import com.hp.cmsz.web.PageURLController; ...@@ -19,11 +25,67 @@ import com.hp.cmsz.web.PageURLController;
@RequestMapping(value="AnalysisSupport/FilterRuleResult") @RequestMapping(value="AnalysisSupport/FilterRuleResult")
public class FilterRuleResultController { public class FilterRuleResultController {
@Autowired
private FilterRuleDao filterRuleDao;
@Autowired
private ProvinceDao provinceDao;
@Autowired
private ChannelDao channelDao;
@Autowired
private ChannelDataSourceMapDao channelDataSourceMapDao;
@Autowired
private BusinessService businessService;
@Autowired
private BusinessDao businessDao;
@Autowired
private KpiDao kpiDao;
@Autowired
private DataTypeDao dataTypeDao;
@Autowired
private DataSourceDao dataSourceDao;
@RequestMapping(value = "") @RequestMapping(value = "")
public String ruleResultHome( public String ruleResultHome(
@RequestParam(value = "rulePageNum", defaultValue="1") String rulePageNum,
Map model){ Map model){
List<FilterRule> FilterRuleList = (List<FilterRule>) filterRuleDao.findAll();
Gson gson = new Gson();
//查询出所有的省份
List<Province> provinceList=(List<Province>)provinceDao.findProvince();
//查询出所有的渠道信息
List<Channel> channelList=(List<Channel>)channelDao.findChannel();
//查询出所有的指标
List<Kpi> kpiList=(List<Kpi>)kpiDao.findAllByIsActive("Y");
//查询出所有的业务
List<Business> businessList=(List<Business>)businessDao.findAllBusiness();
//查询出所有的数据类型
List<DataType> dataTypeList= (List<DataType>)dataTypeDao.findAll();
//查询出所有的数据来源
List<DataSource> dataSourceList=(List<DataSource>)dataSourceDao.findAll();
List<ChannelDataSourceMap> channelDataSourceMapList = (List<ChannelDataSourceMap>) channelDataSourceMapDao.findAll();
model.put("channelDataSourceMapList", channelDataSourceMapList);
model.put("provinceList", provinceList);
model.put("channelList", channelList);
model.put("kpiList", kpiList);
model.put("businessList", businessList);
model.put("dataTypeList", dataTypeList);
model.put("dataSourceList", dataSourceList);
model.put("filterRuleViewList", gson.toJson(FilterRuleList));
return PageURLController.FilterResult; return PageURLController.FilterResult;
} }
......
...@@ -16,38 +16,6 @@ ...@@ -16,38 +16,6 @@
</label> </label>
</div> </div>
</c:forEach> </c:forEach>
<!--
<div class="checkbox-inline">
<label>
<input type="checkbox" name="channel" class="channel" value="实体厅" checked disabled> 实体厅
</label>
</div>
<div class="checkbox-inline">
<label>
<input type="checkbox" name="channel" class="channel" value="网厅" checked disabled> 网厅
</label>
</div>
<div class="checkbox-inline">
<label>
<input type="checkbox" name="channel" class="channel" value="短厅" checked disabled> 短厅
</label>
</div>
<div class="checkbox-inline">
<label>
<input type="checkbox" name="channel" class="channel" value="IVR" checked disabled> IVR
</label>
</div>
<div class="checkbox-inline">
<label>
<input type="checkbox" name="channel" class="channel" value="WAP" checked disabled> WAP
</label>
</div>
<div class="checkbox-inline">
<label>
<input type="checkbox" name="channel" class="channel" value="平台" checked disabled> 平台
</label>
</div>
-->
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
var channelCheckedValues=$(".channel:checked"); var channelCheckedValues=$(".channel:checked");
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
</c:forEach> </c:forEach>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
console.log("${provinceList}");
//全选和不全选所有的省 //全选和不全选所有的省
$("#allProvince").click(function(){ $("#allProvince").click(function(){
if($("#allProvince").attr("checked") == "checked"){//全选 if($("#allProvince").attr("checked") == "checked"){//全选
...@@ -32,7 +31,7 @@ $(".province").click(function(){ ...@@ -32,7 +31,7 @@ $(".province").click(function(){
//返回结果为一个数组,数组中包含选中的省份,以逗号隔开的ID //返回结果为一个数组,数组中包含选中的省份,以逗号隔开的ID
function getProvinceCheckedValues(){ function getProvinceCheckedValues(){
var provinceArray=new Array(); var provinceArray=[];
var i=0; var i=0;
$(".province:checked").each(function(){ $(".province:checked").each(function(){
provinceArray[i]=$(this).val(); provinceArray[i]=$(this).val();
......
...@@ -53,11 +53,12 @@ ...@@ -53,11 +53,12 @@
<form action="#" class="form-horizontal" id="filterMaintainForm" method="post" enctype="multipart/form-data"> <form action="#" class="form-horizontal" id="filterMaintainForm" method="post" enctype="multipart/form-data">
<table id="filterMaintainTable" class="table-null"> <table id="filterMaintainTable" class="table-null">
<tr><td>省份(<font color="red">必填</font>):</td> <tr><td>省份(<font color="red">必填</font>):</td>
<td> <td><div style="width: 50%">
<c:forEach var="province" items="${provinceList}"> <c:forEach var="province" items="${provinceList}">
<input type="checkbox" name="province" id="province" value="${province.provinceId}" checked>${province.provinceName} <input type="checkbox" name="province" value="${province.provinceId}" checked>${province.provinceName}
</c:forEach> </c:forEach>
</td>
</div></td>
</tr> </tr>
<tr><td>数据来源(<font color="red">必填</font>):</td> <tr><td>数据来源(<font color="red">必填</font>):</td>
<td> <td>
...@@ -86,23 +87,27 @@ ...@@ -86,23 +87,27 @@
</tr> </tr>
<tr><td>业务(<font color="red">必填</font>):</td> <tr><td>业务(<font color="red">必填</font>):</td>
<td > <td >
<div id="businesstd"></div> <div id="businesstd" style="width: 50%"></div>
</td> </td>
</tr> </tr>
<tr><td>指标(<font color="red">必填</font>):</td> <tr><td>指标(<font color="red">必填</font>):</td>
<td> <td>
<div id="kpitd"></div> <div id="kpitd" style="width: 50%"></div>
</td> </td>
</tr> </tr>
<!--<tr><td>影响开始时间(<font color="red">必填</font>):</td><td><input type="text" class="form-control" id="ruleCrtTime" name="ruleCrtTime" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'ruleCrtTime\')}'})" /></td></tr> <tr><td>生效开始时间(<font color="red">必填</font>):</td><td><input type="text" class="form-control timeSelect" id="filterStartTime" name="filterStartTime" onfocus="WdatePicker({onpicked:changeDate})" /></td></tr>
<tr><td>影响结束时间(<font color="red">必填</font>):</td><td><input id="ruleUpdateTime" name="ruleUpdateTime" class="form-control" type="text" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'ruleUpdateTime\')}'})"> </td></tr> --> <tr><td>生效结束时间(<font color="red">必填</font>):</td><td><input id="filterEndTime" name="filterEndTime" class="form-control timeSelect" type="text" onFocus="WdatePicker({minDate:'#F{$dp.$D(\'filterStartTime\')}',onpicked:changeDate})"> </td></tr>
<tr><td>生效开始时间(<font color="red">必填</font>):</td><td><input type="text" class="form-control" id="filterStartTime" name="filterStartTime" onfocus="WdatePicker({minDate:'#F{$dp.$D(\'filterStartTime\')}'})" /></td></tr> <tr><td>是否重复(<font color="red">必填</font>):</td><td><input type="radio" class="ifRepeate" name="ifRepeate" value="0" />
<tr><td>生效结束时间(<font color="red">必填</font>):</td><td><input id="filterEndTime" name="filterEndTime" class="form-control" type="text" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'filterEndTime\')}'})"> </td></tr> <input type="radio" class="ifRepeate" name="ifRepeate" value="1" checked/></td></tr>
<tr><td>是否重复(<font color="red">必填</font>):</td><td><input type="radio" class="ifRepeate" name="ifRepeate" value="1" /> <tr class="period"><td>过滤周期(<font color="red">必填</font>):</td>
<input type="radio" class="ifRepeate" name="ifRepeate" value="0" /></td></tr> <td>
<tr class="period"><td>过滤周期(<font color="red">必填</font>):</td><td><input type="text" class="form-control" name="scopeMaxValue" id="scopeMaxValue" /></td></tr> <input type="text" style="width: 20%;float: left" class="form-control" name="cycle" id="cycle" />
<select style="width: 12%;float: left" class="form-control" name="cycleUnit" id="unit" >
</select>
</td>
</tr>
<tr><td>过滤原因(<font color="red">必填</font>):</td><td><input type='text' name='filterReason' id='filterReason' class="form-control" style="display: inline;"/></td></tr> <tr><td>过滤原因(<font color="red">必填</font>):</td><td><input type='text' name='filterReason' id='filterReason' class="form-control" style="display: inline;"/></td></tr>
<tr><td></td><td><button type="button" id="ruleSubmit" class="btn btn-primary">确定</button> <tr><td></td><td><button type="button" id="ruleSubmit" class="btn btn-primary">确定</button>
<button type="reset" class="btn btn-warning" id="ruleBack">返回</button> <button type="reset" class="btn btn-warning" id="ruleBack">返回</button>
...@@ -120,16 +125,62 @@ ...@@ -120,16 +125,62 @@
$(".period").hide(); $(".period").hide();
$(".ifRepeate").change(function (){ $(".ifRepeate").change(function (){
var selectValue = $("input:radio[name='ifRepeate']:checked").val(); var selectValue = $("input:radio[name='ifRepeate']:checked").val();
console.log(selectValue);
if (selectValue == 0){ if (selectValue == 0){
$(".period").hide(); var alertMsg=[];
var filterStartTime = $("#filterStartTime").val();
if(filterStartTime ===""){
alertMsg.push("您没有选择生效开始时间,请先选择生效开始时间和结束时间")
}
var filterEndTime = $("#filterEndTime").val();
if(filterEndTime ===""){
alertMsg.push("您没有选择生效结束时间,请先选择生效开始时间和结束时间")
}
if(alertMsg.length ===0){
var timeDifference = new Date(filterEndTime).getTime() - new Date(filterStartTime).getTime();
var $unit = $("#unit");
$unit.empty();
if(timeDifference<(1000*60*60*24)){
$unit.append(new Option("分钟",0));
$unit.append(new Option("小时",1))
}
$unit.append(new Option("天",2));
$unit.append(new Option("月",3))
}else{
alertMsg.forEach(function (t,i) {
msg+="<span style='color: red'>"+(i+1)+"."+t+"</span><br />"
});
$.dialog({
title: "提醒",
content:msg,
ok: function(){
},
okValue:"确定",
lock:true
});
} }
if (selectValue == 1){
$(".period").show(); $(".period").show();
} }
}) if (selectValue == 1){
$(".period").hide();
}
});
function changeDate() {
$("input[name='ifRepeate']:eq(1)").attr("checked",'checked');
$(".period").hide();
}
function getProvinceCheckedValues() { function getProvinceCheckedValues() {
var provinceArray = new Array(); var provinceArray = [];
var i=0; var i=0;
$("#province:checked").each(function(){ $("#province:checked").each(function(){
provinceArray[i]=$(this).val(); provinceArray[i]=$(this).val();
...@@ -217,7 +268,7 @@ function updateBusiness(dataSource,channel){ ...@@ -217,7 +268,7 @@ function updateBusiness(dataSource,channel){
updateBusiness($("#dataSource").val(),$("#channel").val()); updateBusiness($("#dataSource").val(),$("#channel").val());
function getBusinessCheckedValues(){ function getBusinessCheckedValues(){
var businessArray = new Array(); var businessArray = [];
var i=0; var i=0;
$("[name='businessinput']:checked").each(function(){ $("[name='businessinput']:checked").each(function(){
businessArray[i]=$(this).val(); businessArray[i]=$(this).val();
...@@ -263,4 +314,106 @@ function getKpiCheckedValuesString(){ ...@@ -263,4 +314,106 @@ function getKpiCheckedValuesString(){
} }
$('#ruleSubmit').click(function () {
var alertMsg = [];
var provinceArr = $("input:checkbox[name='province']:checked");
if(provinceArr.length ===0){
alertMsg.push("您没有选择省份,请选择省份")
}
var businessArr = $("input:checkbox[name='businessinput']");
var businessChecked=false;
businessArr.each(function () {
if($(this).attr("checked"))businessChecked=true
});
if(businessArr.length !==0 && !businessChecked){
alertMsg.push("您没有选择业务,请选择业务")
}
var kpiArr = $("input:checkbox[name='kpiinput']");
var kpiChecked = false;
kpiArr.each(function () {
if($(this).attr("checked"))kpiChecked=true
});
if(kpiArr.length !==0 && !kpiChecked){
alertMsg.push("您没有选择指标,请选择指标")
}
var filterStartTime = $("#filterStartTime").val();
if(filterStartTime ===""){
alertMsg.push("您没有选择生效开始时间,请选择生效开始时间")
}
var filterEndTime = $("#filterEndTime").val();
if(filterEndTime ===""){
alertMsg.push("您没有选择生效结束时间,请选择生效结束时间")
}
var filterReason = $("#filterReason").val();
if(filterReason ===""){
alertMsg.push("您没有填写过滤原因,请填写过滤原因")
}
var ifRepeate = $("input:radio[name='ifRepeate']:checked").val();
var cycle = $("#cycle").val();
if(ifRepeate ===0 && cycle===""){
alertMsg.push("您选择了重复,请填写重复周期")
}
if(alertMsg.length ===0){
$.dialog({
title: "提醒",
content:"确定上传该规则吗?",
ok: function(){
$.ajax({
cache: true,
type : "POST",
async: false,
dataType : "json",
url: "${ctx}/AnalysisSupport/FilterRuleMaintain/createRule",
data:$("#filterMaintainForm").serialize(),
success: function(data){
window.location.href="${ctx}/AnalysisSupport/FilterRuleResult";
}
})
},
okValue:"确定",
cancel: function(){},
cancelValue:"返回修改",
lock:true
});
}
else{
var msg="";
alertMsg.forEach(function (t,i) {
msg+="<span style='color: red'>"+(i+1)+"."+t+"</span><br />"
});
$.dialog({
title: "提醒",
content:msg,
ok: function(){
},
okValue:"确定",
lock:true
});
}
})
</script> </script>
\ No newline at end of file
...@@ -41,11 +41,40 @@ ...@@ -41,11 +41,40 @@
<div class="slideMenu" id="cbp-spmenu-s2" style=""> <div class="slideMenu" id="cbp-spmenu-s2" style="">
<div class="form"> <div class="form">
<tags:ProvinceTag /> <tags:ProvinceTag />
<tags:ChannelTag /> <div class="slide-menu-option">
<tags:BusinessTag /> <label for="">数据来源</label>
<c:forEach var="list" items="${dataSourceList}">
<div class="checkbox-inline"><label><input type="checkbox" name="dataSource" class="dataSource" title="${list.dataSourceName}" value="${list.dataSourceId }" onchange="showBusiness()" checked >${list.dataSourceName}</label></div>
</c:forEach>
</div>
<div class="slide-menu-option">
<label for="">渠道</label>
<c:forEach var="list" items="${channelList}">
<div class="checkbox-inline"><label><input type="checkbox" name="channel" class="channel" title="${list.channelName}" value="${list.channelId }" onchange="showBusiness()" checked >${list.channelName}</label></div>
</c:forEach>
</div>
<div class="slide-menu-option">
<label for="">业务</label>
<div class="checkbox-inline"><label><input type="checkbox" id="allBusiness" name="allBusiness" checked >全选</label></div>
<div id="businessCheckboxs">
<%--<c:forEach var="list" items="${businessList}">--%>
<%--<div class="checkbox-inline"><label><input type="checkbox" name="business" class="business" title="${list.businessName}" value="${list.businessId }" checked >${list.businessName}</label></div>--%>
<%--</c:forEach>--%>
</div>
</div>
<div class="slide-menu-option">
<label for="">指标</label>
<div class="checkbox-inline"><label><input type="checkbox" id="allKpi" name="allKpi" checked >全选</label></div>
<div id="kpiCheckboxs">
<%--<c:forEach var="list" items="${kpiList}">--%>
<%--<div class="checkbox-inline" id="" style="display: none"><label><input type="checkbox" name="kpi" class="kpi" title="${list.kpiName}" value="${list.kpiId }" checked >${list.kpiName}</label></div>--%>
<%--</c:forEach>--%>
</div>
</div>
<button id="submit" class="btn btn-primary" onclick="modelResultSubmit()">提交</button> <button id="submit" class="btn btn-primary" >提交</button>
<button id="disable" class="btn btn-warning" onclick="modelResultReset()">重置</button> <button id="disable" class="btn btn-warning">重置</button>
</div> </div>
</div> </div>
...@@ -87,14 +116,154 @@ ...@@ -87,14 +116,154 @@
</div> </div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<script type="text/javascript" src="${ctx}/static/js/filterResultDetailTable.js"></script> <script type="text/javascript" src="${ctx}/static/js/filterResultDetailTable.js"></script>
<script type="text/javascript"> <script type="text/javascript">
filterResultDetailTable(); var provinceArr = [];
<c:forEach var="list" items="${provinceList}">
provinceArr.push({provinceName:'${list.provinceName}',provinceId:'${list.provinceId}'});
</c:forEach>
var channelList = [];
<c:forEach var="list" items="${channelList}">
channelList.push({channelName:'${list.channelName}',channelId:'${list.channelId}'});
</c:forEach>
var businessList = [];
<c:forEach var="list" items="${businessList}">
businessList.push({businessName:'${list.businessName}',businessId:'${list.businessId}',channelDataSourceMapId:'${list.channelDataSourceMapId}'});
</c:forEach>
var channelDataSourceMapList = [];
<c:forEach var="list" items="${channelDataSourceMapList}">
channelDataSourceMapList.push({channelDataSourceMapId:'${list.channelDataSourceMapId}',
channelId:'${list.channelId}',dataSourceId:'${list.dataSourceId}'});
</c:forEach>
var kpiList = [];
<c:forEach var="list" items="${kpiList}">
kpiList.push({kpiId:'${list.kpiId}',
kpiName:'${list.kpiName}',businessId:'${list.businessId}'});
</c:forEach>
var dataSourceList = [];
<c:forEach var="list" items="${dataSourceList}">
dataSourceList.push({dataSourceName:'${list.dataSourceName}', dataSourceId:'${list.dataSourceId}'});
</c:forEach>
filterResultDetailTable();
$('#allBusiness').change(function () {
if($(this).context.checked){
showBusiness();
showKpi();
}else{
$("[name='business']:checked").each(function () {
$(this).removeAttr('checked')
});
showKpi();
}
});
function showBusiness() {
$('#businessCheckboxs').empty();
var selectedDatasource = [];
$("[name='dataSource']:checked").each(function () {
selectedDatasource.push($(this).val())
});
var selectedChannel = [];
$("[name='channel']:checked").each(function () {
selectedChannel.push($(this).val())
});
var channelDataSource = [];
for(var i=0;i<selectedDatasource.length;i++){
for(var j=0;j<selectedChannel.length;j++){
for(var k=0;k<channelDataSourceMapList.length;k++){
if(channelDataSourceMapList[k].channelId ===selectedChannel[j] && channelDataSourceMapList[k].dataSourceId===selectedDatasource[i]){
channelDataSource.push(channelDataSourceMapList[k].channelDataSourceMapId)
}
}
}
}
channelDataSource.forEach(function (t) {
for(var k=0;k<businessList.length;k++){
if(businessList[k].channelDataSourceMapId === t){
var context = '<div class="checkbox-inline"><label><input type="checkbox" name="business" class="business" title="'+businessList[k].businessName+'" value="'+businessList[k].businessId+'" onchange="showKpi()" checked >'+businessList[k].businessName+'</label></div>'
$('#businessCheckboxs').append(context)
}
}
});
showKpi();
}
function showKpi(){
$('#kpiCheckboxs').empty();
var selectedBusiness = [];
$("[name='business']:checked").each(function () {
selectedBusiness.push($(this).val())
});
selectedBusiness.forEach(function (t) {
for(var k=0;k<kpiList.length;k++){
if(kpiList[k].businessId === t){
var context = '<div class="checkbox-inline"><label><input type="checkbox" name="kpi" class="kpi" title="'+kpiList[k].kpiName+'" value="'+kpiList[k].kpiId+'" onchange="test()" checked >'+kpiList[k].kpiName+'</label></div>'
$('#kpiCheckboxs').append(context)
}
}
})
}
$('#submit').click(function(){
var provinceArr ="";
$("[name='province']:checked").each(function () {
provinceArr+=$(this).val()+","
});
provinceArr = provinceArr.substring(0,provinceArr.length-1);
var selectedDatasource=[];
$("[name='dataSource']:checked").each(function () {
selectedDatasource.push($(this).val())
});
var selectedChannel = [];
$("[name='channel']:checked").each(function () {
selectedChannel.push($(this).val())
});
var channelDataSource = [];
for(var i=0;i<selectedDatasource.length;i++){
for(var j=0;j<selectedChannel.length;j++){
for(var k=0;k<channelDataSourceMapList.length;k++){
if(channelDataSourceMapList[k].channelId ===selectedChannel[j] && channelDataSourceMapList[k].dataSourceId===selectedDatasource[i]){
channelDataSource.push(channelDataSourceMapList[k].channelDataSourceMapId)
}
}
}
}
if($('#allBusiness').checked){
var business="";
channelDataSource.forEach(function (t) {
for(var k=0;k<businessList.length;k++){
if(businessList[k].channelDataSourceMapId === t){
business+=businessList[k].businessName+","
}
}
});
}else{
business="";
$("[name='business']:checked").each(function () {
business+=$(this).val()+","
});
}
});
$("#createFilter").click(function(){ $("#createFilter").click(function(){
$.dialog({ $.dialog({
title: "提醒", title: "提醒",
content:"确定新建过滤规则?", content:"确定新建过滤规则?",
......
...@@ -127,19 +127,18 @@ function filterResultDetailTable(){ ...@@ -127,19 +127,18 @@ function filterResultDetailTable(){
var header = new Array(); var header = new Array();
header[0] = ["","<input type='radio' name='update'id='update' onclick='javascript:radioChoose(this);'/>","1%",""]; header[0] = ["","<input type='radio' name='update'id='update' onclick='javascript:radioChoose(this);'/>","1%",""];
header[1] = ["过滤规则ID","filterRuleId","7%","15"]; header[1] = ["过滤规则ID","warningFilteringRuleId","7%","15"];
header[2] = ["省份","provinceName","7%","15"]; header[2] = ["省份","provinceId","7%","15"];
header[3] = ["渠道","qualityRuleId","7%","15"]; header[3] = ["渠道","channel","7%","15"];
header[4] = ["业务","qualityRuleId","7%","15"]; header[4] = ["业务","business","7%","15"];
header[5] = ["数据来源","qualityRuleId","7%","15"]; header[5] = ["数据来源","datasource","7%","15"];
header[6] = ["影响开始时间","qualityRuleId","7%","15"]; header[6] = ["影响开始时间","filteringStartTime","7%","15"];
header[7] = ["影响结束时间","qualityRuleId","7%","15"]; header[7] = ["影响结束时间","filteringEndTime","7%","15"];
header[8] = ["是否重复","qualityRuleId","7%","15"]; header[8] = ["是否重复","ifRepeat","7%","15"];
header[9] = ["过滤周期","qualityRuleId","7%","15"]; header[9] = ["过滤周期","frequency","7%","15"];
header[10] = ["过滤原因","qualityRuleId","7%","15"]; header[10] = ["过滤原因","filteringReason","7%","15"];
window.pagging = new table_pagging({limit:12,tableId:'filterResultTable',header:header}); window.pagging = new table_pagging({limit:12,tableId:'filterResultTable',header:header});
//pagging.pagging(jsonData); pagging.pagging(jsonData,provinceArr);
} }
var table_pagging = function() { var table_pagging = function() {
this.init.apply(this, arguments); this.init.apply(this, arguments);
...@@ -206,6 +205,7 @@ table_pagging.prototype = { ...@@ -206,6 +205,7 @@ table_pagging.prototype = {
pagging : function(objectJson) { pagging : function(objectJson) {
this.objectlist = eval('(' + objectJson + ')'); this.objectlist = eval('(' + objectJson + ')');
if (this.start + this.limit >= this.objectlist.length) { if (this.start + this.limit >= this.objectlist.length) {
this.end = this.objectlist.length; this.end = this.objectlist.length;
} else { } else {
...@@ -296,45 +296,48 @@ table_pagging.prototype = { ...@@ -296,45 +296,48 @@ table_pagging.prototype = {
if(tdContext==null){ if(tdContext==null){
tdContext = "&nbsp;"; tdContext = "&nbsp;";
} }
if(k===2){
/*if(K==3){ tdContext = this.getProvinceName(tdContext)
if(tdContext!="&nbsp;"){ }
var strLength = tdContext.lastIndexOf("."); if(k===3){
var strBody = tdContext.substring(0,strLen-14); tdContext = this.getChannel(this.getData(this.objectlist[i],"kpiId"))
var strExt = tdContext.substring(strLen);
tdContext=strBody+strExt;
} }
}*/
// if(k==12){ //显示协查单的详细列表
// tdContext= "<a target='_blank' href='/CmszMonitorAnalysis/MonitorOperation/WorkingOrderReasult?xcdId="+this.getData(this.objectlist[i],this.header[k][1])+"'>"+ tdContext+"</a>"
if(k==9){
if(tdContext!="&nbsp;"){ if(k===4){
tdContext = df.format(new Date(tdContext)); tdContext = this.getBusiness(this.getData(this.objectlist[i],"kpiId"))
} }
if(k===5){
tdContext = this.getDataSource(this.getData(this.objectlist[i],"kpiId"))
} }
if(k==10){ if(k===6){
tdContext = df.format(new Date(tdContext))
if(tdContext!="&nbsp;"){
tdContext = df.format(new Date(tdContext));
} }
if(k===7){
tdContext = df.format(new Date(tdContext))
} }
if(k==11){ if(k===8){
tdContext = "<a href='javascript:;' onclick='lookParm(\""+this.getData(this.objectlist[i],"dataModelId")+"\",\""+this.getData(this.objectlist[i],"dataModelName")+"\")'>查看参数</a>"; tdContext = (tdContext==1)?"是":"否";
//tdContext = "<a href='javascript:;' onclick=\"openDialog('"+this.getData(this.objectlist[i],"dataModelId")+"','"+ this.getData(this.objectlist[i],"dataModelName")"')\">查看参数</a>";
} }
if(k==4){ if(k===9){
if (this.header[k][4] && !(tdContext == "&nbsp;")) { if(tdContext.indexOf("/")!==-1){
td.title = tdTitle; var unit = tdContext.split("/")[1];
tdContext = tdContext + ""; var value = tdContext.split("/")[0];
if (tdContext.length > parseInt(this.header[k][4])) { if(unit==="1440")unit="分钟";
tdContext = tdContext.substring(0, if(unit==="24")unit="小时";
this.header[k][4])
+ ".."; }else{
if(tdContext.indexOf("ADD")!==-1){
unit="个月"
value = tdContext.substring(tdContext.indexOf("(")+1,tdContext.length-1)
}else{
value=tdContext;
unit="天"
} }
} }
tdContext = value+unit;
} }
} }
} else { } else {
tdContext=this.header[k][1]+"<span style='display:none'>"+i+"</span>"; tdContext=this.header[k][1]+"<span style='display:none'>"+i+"</span>";
...@@ -362,14 +365,6 @@ table_pagging.prototype = { ...@@ -362,14 +365,6 @@ table_pagging.prototype = {
} }
} }
console.log(tdContext);
td.innerHTML = tdContext; td.innerHTML = tdContext;
// alert(tdContext+"----i:"+i+",j:"+j+",k:"+k); // alert(tdContext+"----i:"+i+",j:"+j+",k:"+k);
} }
...@@ -386,6 +381,81 @@ table_pagging.prototype = { ...@@ -386,6 +381,81 @@ table_pagging.prototype = {
this.createPageTr(); this.createPageTr();
}, },
getProvinceName : function (provinceId) {
var provinceName ="&nbsp";
provinceArr.forEach(function (t) {
if(t.provinceId === provinceId+""){
provinceName = t.provinceName
}
});
return provinceName
},
getBusiness : function (kpiId) {
var businessName ="&nbsp";
kpiList.forEach(function (t) {
if(t.kpiId === kpiId+""){
businessName = t.businessId
}
});
businessList.forEach(function (t) {
if(t.businessId === businessName){
businessName = t.businessName
}
});
return businessName
},
getChannel : function (kpiId) {
var tmp ="&nbsp";
kpiList.forEach(function (t) {
if(t.kpiId === kpiId+""){
tmp = t.businessId
}
});
businessList.forEach(function (t) {
if(t.businessId === tmp){
tmp = t.channelDataSourceMapId
}
});
channelDataSourceMapList.forEach(function (t) {
if(t.channelDataSourceMapId === tmp){
tmp = t.channelId
}
});
channelList.forEach(function (t) {
if(t.channelId === tmp){
tmp = t.channelName
}
});
return tmp
},
getDataSource : function (kpiId) {
var tmp ="&nbsp";
kpiList.forEach(function (t) {
if(t.kpiId === kpiId+""){
tmp = t.businessId
}
});
businessList.forEach(function (t) {
if(t.businessId === tmp){
tmp = t.channelDataSourceMapId
}
});
channelDataSourceMapList.forEach(function (t) {
if(t.channelDataSourceMapId === tmp){
tmp = t.dataSourceId
}
});
dataSourceList.forEach(function (t) {
if(t.dataSourceId === tmp){
tmp = t.dataSourceName
}
});
return tmp
},
// 从json获取数据,其中key如果带有.这个符号,说明需要获取的数据是多维数组(也可以看成对象) // 从json获取数据,其中key如果带有.这个符号,说明需要获取的数据是多维数组(也可以看成对象)
getData : function(arrayObj, key) { getData : function(arrayObj, key) {
if (key.indexOf(".") > 0) { if (key.indexOf(".") > 0) {
......
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