Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cmszMonitorAnalysis
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liuna
cmszMonitorAnalysis
Commits
29444a6f
Commit
29444a6f
authored
Dec 02, 2017
by
liuna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2017年12月2日 智能分析平台提交内容
--数据质量核查下过滤规则页面联动
parent
ea1d1e22
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
1440 additions
and
693 deletions
+1440
-693
workspace.xml
.idea/workspace.xml
+273
-346
AccuracyRuleDao.java
src/main/java/com/hp/cmsz/repository/AccuracyRuleDao.java
+1
-1
QualityRuleInfoDao.java
src/main/java/com/hp/cmsz/repository/QualityRuleInfoDao.java
+3
-1
AccuracyRuleService.java
.../hp/cmsz/service/analysissupport/AccuracyRuleService.java
+1
-1
QualityRuleInfoService.java
.../cmsz/service/analysissupport/QualityRuleInfoService.java
+4
-2
FilterRuleMaintainController.java
...msz/web/analysissupport/FilterRuleMaintainController.java
+49
-1
QualityRuleConfigurationController.java
...b/analysissupport/QualityRuleConfigurationController.java
+221
-113
QualityRuleMaintainController.java
...sz/web/analysissupport/QualityRuleMaintainController.java
+87
-103
QualityRuleOperationController.java
...z/web/analysissupport/QualityRuleOperationController.java
+9
-6
QualityRule_IfFilter.tag
src/main/webapp/WEB-INF/tags/QualityRule_IfFilter.tag
+5
-4
FilterRuleMaintain.jsp
...bapp/WEB-INF/views/AnalysisSupport/FilterRuleMaintain.jsp
+172
-5
QualityRuleConfiguration.jsp
...EB-INF/views/AnalysisSupport/QualityRuleConfiguration.jsp
+498
-94
QualityRuleMaintain.jsp
...app/WEB-INF/views/AnalysisSupport/QualityRuleMaintain.jsp
+115
-14
QualityRuleOperation.jsp
...pp/WEB-INF/views/AnalysisSupport/QualityRuleOperation.jsp
+2
-2
No files found.
.idea/workspace.xml
View file @
29444a6f
...
...
@@ -7,18 +7,21 @@
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
readonly=
"true"
id=
"729f43c8-1bb9-40d5-9567-47c5307fe3f5"
name=
"Default"
comment=
""
>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/QualityRuleInfo.java"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/QualityRuleView.java"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/QualityRuleInfoDao.java"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/QualityRuleViewDao.java"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleInfoService.java"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleViewService.java"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleOperationController.java"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/QualityRule_IfFilter.tag"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleOperation.jsp"
/>
<change
type=
"NEW"
beforePath=
""
afterPath=
"$PROJECT_DIR$/src/main/webapp/static/js/ruleOperationDetailTable.js"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/AccuracyRuleDao.java"
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/AccuracyRuleDao.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/QualityRuleInfoDao.java"
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/QualityRuleInfoDao.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/AccuracyRuleService.java"
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/AccuracyRuleService.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleInfoService.java"
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleInfoService.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleService.java"
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleService.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/QualityRuleConfigurationController.java"
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleConfigurationController.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleMaintainController.java"
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleMaintainController.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleOperationController.java"
afterPath=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleOperationController.java"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/QualityRule_IfFilter.tag"
afterPath=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/QualityRule_IfFilter.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/QualityRuleConfiguration.jsp"
afterPath=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleConfiguration.jsp"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleMaintain.jsp"
afterPath=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleMaintain.jsp"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleOperation.jsp"
afterPath=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleOperation.jsp"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/classes/"
/>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
...
...
@@ -33,70 +36,46 @@
</component>
<component
name=
"FileEditorManager"
>
<leaf
SIDE_TABS_SIZE_LIMIT_KEY=
"300"
>
<file
leaf-file-name=
"QualityRule
OperationController.java"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRule
Operatio
nController.java"
>
<file
leaf-file-name=
"QualityRule
MaintainController.java"
pinned=
"false"
current-in-tab=
"fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRule
Maintai
nController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-997"
>
<caret
line=
"82"
column=
"53"
lean-forward=
"false"
selection-start-line=
"82"
selection-start-column=
"53"
selection-end-line=
"82"
selection-end-column=
"53"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"QualityRuleInfoDao.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/QualityRuleInfoDao.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"286"
>
<caret
line=
"20"
column=
"0"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"0"
selection-end-line=
"20"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"QualityRuleInfoService.java"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleInfoService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"374"
>
<caret
line=
"24"
column=
"38"
lean-forward=
"false"
selection-start-line=
"24"
selection-start-column=
"38"
selection-end-line=
"24"
selection-end-column=
"38"
/>
<state
relative-caret-position=
"748"
>
<caret
line=
"74"
column=
"40"
lean-forward=
"true"
selection-start-line=
"52"
selection-start-column=
"4"
selection-end-line=
"74"
selection-end-column=
"40"
/>
<folding>
<element
signature=
"e#556#557#0"
expanded=
"true"
/>
<element
signature=
"e#619#620#0"
expanded=
"true"
/>
<element
signature=
"e#8847#8853#0"
expanded=
"true"
/>
<element
signature=
"e#9016#9022#0"
expanded=
"true"
/>
<element
signature=
"e#9180#9186#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
QualityRuleOperation.jsp"
pinned=
"false"
current-in-tab=
"fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/views/AnalysisSupport/QualityRuleOperation.jsp
"
>
<file
leaf-file-name=
"
ModelMaintainController.java"
pinned=
"false"
current-in-tab=
"tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/web/modelmanage/ModelMaintainController.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
220
"
>
<caret
line=
"
43"
column=
"54"
lean-forward=
"false"
selection-start-line=
"43"
selection-start-column=
"54"
selection-end-line=
"43"
selection-end-column=
"54
"
/>
<state
relative-caret-position=
"
-891
"
>
<caret
line=
"
57"
column=
"13"
lean-forward=
"false"
selection-start-line=
"57"
selection-start-column=
"13"
selection-end-line=
"57"
selection-end-column=
"13
"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
InsideXcd.jsp
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/views/MonitorOperation/InsideXcd.jsp
"
>
<file
leaf-file-name=
"
AccuracyRule.java
"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/entity/AccuracyRule.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"264"
>
<caret
line=
"93"
column=
"51"
lean-forward=
"true"
selection-start-line=
"93"
selection-start-column=
"51"
selection-end-line=
"93"
selection-end-column=
"51"
/>
<folding>
<marker
date=
"1511516640327"
expanded=
"true"
signature=
"13862:13918"
ph=
"..."
/>
</folding>
<state
relative-caret-position=
"41"
>
<caret
line=
"20"
column=
"15"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"15"
selection-end-line=
"20"
selection-end-column=
"35"
/>
<folding
/>
</state>
</provider>
</entry>
</file>
<file
leaf-file-name=
"
WorkingOrderManage
.jsp"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/
MonitorOperation/WorkingOrderManage
.jsp"
>
<file
leaf-file-name=
"
QualityRuleMaintain
.jsp"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/
AnalysisSupport/QualityRuleMaintain
.jsp"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-10098"
>
<caret
line=
"549"
column=
"39"
lean-forward=
"false"
selection-start-line=
"549"
selection-start-column=
"39"
selection-end-line=
"549"
selection-end-column=
"57"
/>
<folding>
<marker
date=
"1511516640337"
expanded=
"true"
signature=
"47293:47349"
ph=
"..."
/>
<marker
date=
"1511516640337"
expanded=
"true"
signature=
"47572:47583"
ph=
"..."
/>
</folding>
<state
relative-caret-position=
"848"
>
<caret
line=
"496"
column=
"0"
lean-forward=
"false"
selection-start-line=
"496"
selection-start-column=
"0"
selection-end-line=
"541"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
...
...
@@ -115,11 +94,6 @@
</component>
<component
name=
"FindInProjectRecents"
>
<findStrings>
<find>
下发协查单
</find>
<find>
returninfo
</find>
<find>
getUrlParams
</find>
<find>
green-tr
</find>
<find>
update
</find>
<find>
statsDatasourceChange
</find>
<find>
datasourceStats
</find>
<find>
businessItem
</find>
...
...
@@ -134,7 +108,6 @@
<find>
dataModelId
</find>
<find>
businessinput
</find>
<find>
province
</find>
<find>
ruleMaintainForm
</find>
<find>
filterResultDetailTable
</find>
<find>
labelModelPeriod
</find>
<find>
dataModelViewList
</find>
...
...
@@ -145,6 +118,12 @@
<find>
#relStausTag
</find>
<find>
ruleId
</find>
<find>
updateTag
</find>
<find>
#addParamVal
</find>
<find>
elementTag
</find>
<find>
tr.orange-tr
</find>
<find>
ruleSubmit
</find>
<find>
updateRule
</find>
<find>
ruleMaintainForm
</find>
</findStrings>
<replaceStrings>
<replace>
InsideXcdWorkingOrderInfoView
</replace>
...
...
@@ -167,11 +146,6 @@
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<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$/.gitignore"
/>
<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/repository/InsideXcdWorkingOrderInfoViewDao.java"
/>
<option
value=
"$PROJECT_DIR$/build.xml"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/InsideXcdController.java"
/>
...
...
@@ -188,8 +162,6 @@
<option
value=
"$PROJECT_DIR$/src/main/webapp/static/My97DatePicker/WdatePicker.js"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/static/js/dygraph-combined2.js"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/AccuracyRule.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/AccuracyRuleDao.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/AccuracyRuleService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/ModelManage/ModelResult.jsp"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/ProvinceDao.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/KpiDao.java"
/>
...
...
@@ -200,24 +172,31 @@
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/QualityRuleDao.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/QualityRuleInfo.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleMaintainController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/QualityRuleView.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/QualityRuleViewDao.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleViewService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleMaintain.jsp"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleResultController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/static/js/ruleResultDetailTable.js"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/static/js/ruleOperationDetailTable.js"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/QualityRule_IfFilter.tag"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleOperationController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/QualityRuleView.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/QualityRuleInfo.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/QualityRuleInfoDao.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleInfoService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/layouts/header.jsp"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleResult.jsp"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleResult.jsp"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/tags/QualityRule_IfFilter.tag"
/>
<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/QualityRuleInfoDao.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleOperationController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleInfoService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleOperation.jsp"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleConfiguration.jsp"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/analysissupport/AccuracyRuleService.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/AccuracyRuleDao.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleConfigurationController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleMaintainController.java"
/>
<option
value=
"$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleMaintain.jsp"
/>
<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/FilterRuleMaintain.jsp"
/>
</list>
</option>
</component>
...
...
@@ -325,23 +304,6 @@
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"webapp"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"static"
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=
"static"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"js"
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>
...
...
@@ -351,56 +313,8 @@
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"webapp"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"WEB-INF"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"layouts"
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=
"tags"
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>
<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"
/>
<item
name=
"AnalysisSupport"
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"
/>
<item
name=
"ModelManage"
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"
/>
<item
name=
"MonitorOperation"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
</expand>
<select
/>
</subPane>
...
...
@@ -660,7 +574,7 @@
<workItem
from=
"1511860853640"
duration=
"322000"
/>
<workItem
from=
"1511861266553"
duration=
"41183000"
/>
<workItem
from=
"1512006065543"
duration=
"10575000"
/>
<workItem
from=
"1512018064699"
duration=
"
22846
000"
/>
<workItem
from=
"1512018064699"
duration=
"
60738
000"
/>
</task>
<task
id=
"LOCAL-00001"
summary=
"first commit"
>
<created>
1507828551888
</created>
...
...
@@ -753,11 +667,18 @@
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1512093167759
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"14"
/>
<task
id=
"LOCAL-00014"
summary=
"2017年12月1日 智能分析平台提交内容 --数据质量核查"
>
<created>
1512094012168
</created>
<option
name=
"number"
value=
"00014"
/>
<option
name=
"presentableId"
value=
"LOCAL-00014"
/>
<option
name=
"project"
value=
"LOCAL"
/>
<updated>
1512094012168
</updated>
</task>
<option
name=
"localTasksCounter"
value=
"15"
/>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"
387438
000"
/>
<option
name=
"totallyTimeSpent"
value=
"
425330
000"
/>
</component>
<component
name=
"TodoView"
>
<todo-panel
id=
"selected-file"
>
...
...
@@ -788,11 +709,11 @@
<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.32786885"
sideWeight=
"0.5"
order=
"9"
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=
"true"
show_stripe_button=
"true"
weight=
"0.29
508197
"
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=
"false"
show_stripe_button=
"true"
weight=
"0.
5344262
"
sideWeight=
"0.49545455"
order=
"12"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.29
344264
"
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=
"false"
show_stripe_button=
"true"
weight=
"0.
13934426
"
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.32786885"
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=
"Project"
active=
"true"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.2
5113463
"
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.2
3600605
"
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=
"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"
/>
...
...
@@ -927,441 +848,447 @@
</buildFile>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"jar://$APPLICATION_HOME_DIR$/lib/idea.jar!/standardSchemas/xhtml1-transitional.dtd"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"104"
>
<caret
line=
"643"
column=
"2"
lean-forward=
"false"
selection-start-line=
"643"
selection-start-column=
"2"
selection-end-line=
"643"
selection-end-column=
"2"
/>
<folding
/>
</state>
</provider>
</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/PzxDetailInfoView.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
203
"
>
<caret
line=
"1
9"
column=
"13"
lean-forward=
"false"
selection-start-line=
"19"
selection-start-column=
"13"
selection-end-line=
"19"
selection-end-column=
"13
"
/>
<state
relative-caret-position=
"
38
"
>
<caret
line=
"1
7"
column=
"15"
lean-forward=
"true"
selection-start-line=
"17"
selection-start-column=
"15"
selection-end-line=
"17"
selection-end-column=
"32
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/static/js/modelResultDetailTable.js
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/entity/QualityRuleView.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
2728
"
>
<caret
line=
"
124"
column=
"73"
lean-forward=
"false"
selection-start-line=
"124"
selection-start-column=
"73"
selection-end-line=
"124"
selection-end-column=
"73
"
/>
<state
relative-caret-position=
"
-1056
"
>
<caret
line=
"
27"
column=
"32"
lean-forward=
"true"
selection-start-line=
"27"
selection-start-column=
"32"
selection-end-line=
"27"
selection-end-column=
"32
"
/>
<folding>
<marker
date=
"1511516671157"
expanded=
"true"
signature=
"11810:11822"
ph=
"..."
/>
<marker
date=
"1511516671157"
expanded=
"true"
signature=
"16324:16334"
ph=
"..."
/>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
web/modelmanage/ModelResultController
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
repository/DataModelDao
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"242"
>
<caret
line=
"188"
column=
"0"
lean-forward=
"true"
selection-start-line=
"188"
selection-start-column=
"0"
selection-end-line=
"188"
selection-end-column=
"0"
/>
<folding>
<element
signature=
"e#7266#7281#0"
expanded=
"false"
/>
</folding>
<state
relative-caret-position=
"-20"
>
<caret
line=
"37"
column=
"14"
lean-forward=
"true"
selection-start-line=
"37"
selection-start-column=
"14"
selection-end-line=
"37"
selection-end-column=
"14"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/repository/DataSourceDao.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/tags/PeriodTag.tag
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"4"
>
<caret
line=
"15"
column=
"17"
lean-forward=
"false"
selection-start-line=
"15"
selection-start-column=
"17"
selection-end-line=
"15"
selection-end-column=
"17"
/>
<state
relative-caret-position=
"-2046"
>
<caret
line=
"0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/entity/QualityRule.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/tags/GZFX_Period_stats.tag
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1"
>
<caret
line=
"
21"
column=
"13"
lean-forward=
"false"
selection-start-line=
"21"
selection-start-column=
"13"
selection-end-line=
"21"
selection-end-column=
"13
"
/>
<state
relative-caret-position=
"1
76
"
>
<caret
line=
"
101"
column=
"9"
lean-forward=
"false"
selection-start-line=
"101"
selection-start-column=
"9"
selection-end-line=
"101"
selection-end-column=
"22
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/repository/QualityRuleDao.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=
"
235
"
>
<caret
line=
"
37"
column=
"475"
lean-forward=
"true"
selection-start-line=
"37"
selection-start-column=
"475"
selection-end-line=
"37"
selection-end-column=
"493
"
/>
<state
relative-caret-position=
"
493
"
>
<caret
line=
"
29"
column=
"88"
lean-forward=
"true"
selection-start-line=
"29"
selection-start-column=
"88"
selection-end-line=
"29"
selection-end-column=
"88
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/repository/QualityRuleInfo.java"
/>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/modelmanage/DataModelService.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/WEB-INF/layouts/header.jsp"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"169"
>
<caret
line=
"37"
column=
"4"
lean-forward=
"true"
selection-start-line=
"37"
selection-start-column=
"4"
selection-end-line=
"37"
selection-end-column=
"4"
/>
<folding
/>
<state
relative-caret-position=
"-2897"
>
<caret
line=
"61"
column=
"6"
lean-forward=
"false"
selection-start-line=
"61"
selection-start-column=
"6"
selection-end-line=
"61"
selection-end-column=
"6"
/>
<folding>
<marker
date=
"1512092899872"
expanded=
"true"
signature=
"28676:28700"
ph=
"..."
/>
<marker
date=
"1512092899872"
expanded=
"true"
signature=
"28918:28932"
ph=
"..."
/>
<marker
date=
"1512092899872"
expanded=
"true"
signature=
"29204:29218"
ph=
"..."
/>
<marker
date=
"1512092899872"
expanded=
"true"
signature=
"29492:29506"
ph=
"..."
/>
<marker
date=
"1512092899872"
expanded=
"true"
signature=
"29669:29686"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
service/analysissupport/QualityRuleService
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
web/modelmanage/ModelResultController
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"428"
>
<caret
line=
"31"
column=
"193"
lean-forward=
"false"
selection-start-line=
"31"
selection-start-column=
"193"
selection-end-line=
"31"
selection-end-column=
"193"
/>
<state
relative-caret-position=
"-3239"
>
<caret
line=
"61"
column=
"13"
lean-forward=
"false"
selection-start-line=
"61"
selection-start-column=
"13"
selection-end-line=
"61"
selection-end-column=
"13"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/service/modelmanage/DataModelViewService.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/tags/PZX_Ifkey.tag
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
352
"
>
<caret
line=
"
26"
column=
"32"
lean-forward=
"false"
selection-start-line=
"26"
selection-start-column=
"4"
selection-end-line=
"26"
selection-end-column=
"32
"
/>
<state
relative-caret-position=
"
-80
"
>
<caret
line=
"
0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/entity/DimAssociationAnaInfo.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/tags/WarningFilter.tag
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
74
"
>
<caret
line=
"
14"
column=
"13"
lean-forward=
"false"
selection-start-line=
"14"
selection-start-column=
"13"
selection-end-line=
"14"
selection-end-column=
"13
"
/>
<state
relative-caret-position=
"
-220
"
>
<caret
line=
"
4"
column=
"28"
lean-forward=
"true"
selection-start-line=
"4"
selection-start-column=
"28"
selection-end-line=
"4"
selection-end-column=
"28
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"
file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/DataModelView.java
"
>
<entry
file=
"
jar://D:/CMSZMonitorAnalysis/apache-tomcat-7.0.47/lib/servlet-api.jar!/javax/servlet/http/HttpServlet.class
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"142"
>
<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=
"
45"
column=
"0"
lean-forward=
"false"
selection-start-line=
"45"
selection-start-column=
"0"
selection-end-line=
"45"
selection-end-column=
"0
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
repository/InsideXcdWorkingOrderInfoViewDao
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
web/HeighChartsExportCtrl
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-114
"
>
<caret
line=
"
9"
column=
"17"
lean-forward=
"false"
selection-start-line=
"9"
selection-start-column=
"17"
selection-end-line=
"9"
selection-end-column=
"17
"
/>
<state
relative-caret-position=
"
96
"
>
<caret
line=
"
27"
column=
"13"
lean-forward=
"false"
selection-start-line=
"27"
selection-start-column=
"13"
selection-end-line=
"27"
selection-end-column=
"13
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/entity/XcdDetailInfoView.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/tags/XCD_IfClosed.tag
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"66"
>
<caret
line=
"
19"
column=
"15"
lean-forward=
"false"
selection-start-line=
"19"
selection-start-column=
"15"
selection-end-line=
"19"
selection-end-column=
"32
"
/>
<caret
line=
"
27"
column=
"25"
lean-forward=
"true"
selection-start-line=
"27"
selection-start-column=
"25"
selection-end-line=
"27"
selection-end-column=
"30
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/repository/QualityRuleView.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/tags/QualityRule_IfFilter.tag
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
0
"
>
<caret
line=
"
0"
column=
"27"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"27"
selection-end-line=
"0"
selection-end-column=
"27
"
/>
<state
relative-caret-position=
"
139
"
>
<caret
line=
"
16"
column=
"0"
lean-forward=
"false"
selection-start-line=
"16"
selection-start-column=
"0"
selection-end-line=
"16"
selection-end-column=
"0
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
entity/InsideXcdWorkingOrderInfoView
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
service/monitoroperation/InsideXcdWorkingOrderInfoViewService
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-652
"
>
<caret
line=
"
14"
column=
"13"
lean-forward=
"false"
selection-start-line=
"14"
selection-start-column=
"13"
selection-end-line=
"14"
selection-end-column=
"13
"
/>
<state
relative-caret-position=
"
118
"
>
<caret
line=
"
29"
column=
"22"
lean-forward=
"false"
selection-start-line=
"29"
selection-start-column=
"22"
selection-end-line=
"29"
selection-end-column=
"31
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
repository/QualityRuleViewDao
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
web/monitoroperation/InsideXcdController
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"112"
>
<caret
line=
"8"
column=
"77"
lean-forward=
"false"
selection-start-line=
"8"
selection-start-column=
"77"
selection-end-line=
"8"
selection-end-column=
"77"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"88"
>
<caret
line=
"57"
column=
"40"
lean-forward=
"false"
selection-start-line=
"57"
selection-start-column=
"40"
selection-end-line=
"57"
selection-end-column=
"40"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/service/analysissupport/QualityRuleViewService.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/static/js/ruleOperationDetailTable.js
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"144"
>
<caret
line=
"18"
column=
"26"
lean-forward=
"false"
selection-start-line=
"18"
selection-start-column=
"26"
selection-end-line=
"18"
selection-end-column=
"26"
/>
<folding
/>
<state
relative-caret-position=
"-5"
>
<caret
line=
"122"
column=
"9"
lean-forward=
"false"
selection-start-line=
"122"
selection-start-column=
"9"
selection-end-line=
"122"
selection-end-column=
"9"
/>
<folding>
<marker
date=
"1512034451482"
expanded=
"true"
signature=
"11708:11720"
ph=
"..."
/>
<marker
date=
"1512034451482"
expanded=
"true"
signature=
"17092:17102"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/views/AnalysisSupport/QualityRuleMaintain.jsp
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/entity/XcdWarningInfoView.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
283
"
>
<caret
line=
"
113"
column=
"41"
lean-forward=
"false"
selection-start-line=
"113"
selection-start-column=
"41"
selection-end-line=
"113"
selection-end-column=
"41
"
/>
<state
relative-caret-position=
"
-168
"
>
<caret
line=
"
21"
column=
"13"
lean-forward=
"false"
selection-start-line=
"21"
selection-start-column=
"13"
selection-end-line=
"21"
selection-end-column=
"13
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/static/js/ruleOperationDetailTable.js
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/repository/XcdWarningInfoViewDao.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
8
33"
>
<caret
line=
"
595"
column=
"1"
lean-forward=
"false"
selection-start-line=
"595"
selection-start-column=
"1"
selection-end-line=
"595"
selection-end-column=
"1
"
/>
<state
relative-caret-position=
"133"
>
<caret
line=
"
27"
column=
"32"
lean-forward=
"false"
selection-start-line=
"27"
selection-start-column=
"32"
selection-end-line=
"27"
selection-end-column=
"32
"
/>
<folding>
<marker
date=
"1512034451482"
expanded=
"true"
signature=
"11708:11720"
ph=
"..."
/>
<marker
date=
"1512034451482"
expanded=
"true"
signature=
"17092:17102"
ph=
"..."
/>
<marker
date=
"1511516636214"
expanded=
"true"
signature=
"3800:4315"
ph=
"SELECT TO_CH... "
/>
<marker
date=
"1511516636214"
expanded=
"true"
signature=
"4473:4979"
ph=
"select to_ch... "
/>
<marker
date=
"1511516636214"
expanded=
"true"
signature=
"5256:5919"
ph=
"SELECT TO_CH... "
/>
<marker
date=
"1511516636214"
expanded=
"true"
signature=
"6216:6835"
ph=
"SELECT TO_CH... "
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/static/js/ruleResultDetailTable.js"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/service/monitoroperation/XcdWorkingOrderInfoService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"155"
>
<caret
line=
"139"
column=
"84"
lean-forward=
"true"
selection-start-line=
"139"
selection-start-column=
"84"
selection-end-line=
"139"
selection-end-column=
"84"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/monitoroperation/WorkingOrderManageControll.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"488"
>
<caret
line=
"604"
column=
"1"
lean-forward=
"true"
selection-start-line=
"531"
selection-start-column=
"0"
selection-end-line=
"604"
selection-end-column=
"1"
/>
<folding>
<marker
date=
"1512029851527"
expanded=
"true"
signature=
"10054:10066"
ph=
"..."
/>
<marker
date=
"1512029851527"
expanded=
"true"
signature=
"14396:14406"
ph=
"..."
/>
</folding>
<state
relative-caret-position=
"206"
>
<caret
line=
"214"
column=
"68"
lean-forward=
"true"
selection-start-line=
"214"
selection-start-column=
"68"
selection-end-line=
"214"
selection-end-column=
"68"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/
static/js/xcdWarningTable.js
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/
WEB-INF/views/MonitorOperation/WorkingOrderManage.jsp
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
330
"
>
<caret
line=
"
318"
column=
"112"
lean-forward=
"false"
selection-start-line=
"318"
selection-start-column=
"58"
selection-end-line=
"318"
selection-end-column=
"112
"
/>
<state
relative-caret-position=
"
-5852
"
>
<caret
line=
"
549"
column=
"39"
lean-forward=
"false"
selection-start-line=
"549"
selection-start-column=
"39"
selection-end-line=
"549"
selection-end-column=
"57
"
/>
<folding>
<marker
date=
"1511516671189"
expanded=
"true"
signature=
"10442:10454"
ph=
"..."
/>
<marker
date=
"1511516671189"
expanded=
"true"
signature=
"10737:10749"
ph=
"..."
/>
<marker
date=
"1511516671189"
expanded=
"true"
signature=
"15263:15273"
ph=
"..."
/>
<marker
date=
"1511516640337"
expanded=
"true"
signature=
"47293:47349"
ph=
"..."
/>
<marker
date=
"1511516640337"
expanded=
"true"
signature=
"47572:47583"
ph=
"..."
/>
</folding>
</state>
</provider>
</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/views/MonitorOperation/InsideXcd.jsp
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1899"
>
<caret
line=
"199"
column=
"34"
lean-forward=
"true"
selection-start-line=
"199"
selection-start-column=
"34"
selection-end-line=
"199"
selection-end-column=
"34"
/>
<folding
/>
<state
relative-caret-position=
"264"
>
<caret
line=
"200"
column=
"41"
lean-forward=
"false"
selection-start-line=
"200"
selection-start-column=
"41"
selection-end-line=
"200"
selection-end-column=
"55"
/>
<folding>
<marker
date=
"1511516640327"
expanded=
"true"
signature=
"13862:13918"
ph=
"..."
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/tags/WarningFilter.tag
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/service/analysissupport/QualityRuleService.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"88"
>
<caret
line=
"4"
column=
"28"
lean-forward=
"true"
selection-start-line=
"4"
selection-start-column=
"28"
selection-end-line=
"4"
selection-end-column=
"28"
/>
<folding
/>
<state
relative-caret-position=
"37"
>
<caret
line=
"17"
column=
"13"
lean-forward=
"false"
selection-start-line=
"17"
selection-start-column=
"13"
selection-end-line=
"17"
selection-end-column=
"13"
/>
<folding>
<element
signature=
"imports"
expanded=
"false"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/tags/XCD_RelStatus.tag
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/service/analysissupport/QualityRuleViewService.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-132
"
>
<caret
line=
"
0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0
"
/>
<state
relative-caret-position=
"
286
"
>
<caret
line=
"
19"
column=
"44"
lean-forward=
"false"
selection-start-line=
"19"
selection-start-column=
"44"
selection-end-line=
"19"
selection-end-column=
"44
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/tags/QualityRule_IfFilter.tag
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/repository/QualityRuleViewDao.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"383"
>
<caret
line=
"26"
column=
"28"
lean-forward=
"false"
selection-start-line=
"26"
selection-start-column=
"13"
selection-end-line=
"26"
selection-end-column=
"28"
/>
<folding
/>
<state
relative-caret-position=
"286"
>
<caret
line=
"13"
column=
"26"
lean-forward=
"false"
selection-start-line=
"13"
selection-start-column=
"26"
selection-end-line=
"13"
selection-end-column=
"26"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/
ModelManage/ModelResult
.jsp"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/
AnalysisSupport/QualityRuleOperation
.jsp"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
565
"
>
<caret
line=
"
215"
column=
"8"
lean-forward=
"true"
selection-start-line=
"215"
selection-start-column=
"8"
selection-end-line=
"215"
selection-end-column=
"8
"
/>
<state
relative-caret-position=
"
2266
"
>
<caret
line=
"
103"
column=
"32"
lean-forward=
"true"
selection-start-line=
"103"
selection-start-column=
"32"
selection-end-line=
"103"
selection-end-column=
"32
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
repository/XcdWarningInfoViewDao
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
service/analysissupport/QualityRuleInfoService
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"193"
>
<caret
line=
"27"
column=
"502"
lean-forward=
"false"
selection-start-line=
"27"
selection-start-column=
"468"
selection-end-line=
"27"
selection-end-column=
"502"
/>
<folding>
<marker
date=
"1511516636214"
expanded=
"true"
signature=
"3800:4315"
ph=
"SELECT TO_CH... "
/>
<marker
date=
"1511516636214"
expanded=
"true"
signature=
"4473:4979"
ph=
"select to_ch... "
/>
<marker
date=
"1511516636214"
expanded=
"true"
signature=
"5256:5919"
ph=
"SELECT TO_CH... "
/>
<marker
date=
"1511516636214"
expanded=
"true"
signature=
"6216:6835"
ph=
"SELECT TO_CH... "
/>
</folding>
<state
relative-caret-position=
"88"
>
<caret
line=
"13"
column=
"8"
lean-forward=
"true"
selection-start-line=
"13"
selection-start-column=
"8"
selection-end-line=
"13"
selection-end-column=
"8"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
service/monitoroperation/XcdWorkingOrderInfoService
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
repository/QualityRuleInfoDao
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-266
"
>
<caret
line=
"
134"
column=
"7"
lean-forward=
"true"
selection-start-line=
"134"
selection-start-column=
"7"
selection-end-line=
"134"
selection-end-column=
"7
"
/>
<state
relative-caret-position=
"
242
"
>
<caret
line=
"
20"
column=
"45"
lean-forward=
"false"
selection-start-line=
"20"
selection-start-column=
"45"
selection-end-line=
"20"
selection-end-column=
"45
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
repository/DataModelViewDa
o.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
entity/QualityRuleInf
o.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
79
"
>
<caret
line=
"
28"
column=
"4"
lean-forward=
"true"
selection-start-line=
"28"
selection-start-column=
"4"
selection-end-line=
"28"
selection-end-column=
"4
"
/>
<state
relative-caret-position=
"
156
"
>
<caret
line=
"
15"
column=
"13"
lean-forward=
"false"
selection-start-line=
"15"
selection-start-column=
"13"
selection-end-line=
"15"
selection-end-column=
"13
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
entity/XcdWarningInfoView
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
web/analysissupport/QualityRuleResultController
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-534"
>
<caret
line=
"21"
column=
"13"
lean-forward=
"false"
selection-start-line=
"21"
selection-start-column=
"13"
selection-end-line=
"21"
selection-end-column=
"13"
/>
<folding
/>
<state
relative-caret-position=
"111"
>
<caret
line=
"37"
column=
"23"
lean-forward=
"false"
selection-start-line=
"37"
selection-start-column=
"23"
selection-end-line=
"37"
selection-end-column=
"57"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
entity/YwglEwarningBusDataView
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
web/monitoroperation/WorkingOrderCreateController
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
154
"
>
<caret
line=
"
21"
column=
"13"
lean-forward=
"false"
selection-start-line=
"21"
selection-start-column=
"13"
selection-end-line=
"21
"
selection-end-column=
"13"
/>
<state
relative-caret-position=
"
-12143
"
>
<caret
line=
"
67"
column=
"13"
lean-forward=
"false"
selection-start-line=
"67"
selection-start-column=
"13"
selection-end-line=
"67
"
selection-end-column=
"13"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/
XcdChangeView
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/entity/
QualityRule
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
60
"
>
<caret
line=
"2
0"
column=
"13"
lean-forward=
"false"
selection-start-line=
"20"
selection-start-column=
"13"
selection-end-line=
"20
"
selection-end-column=
"13"
/>
<state
relative-caret-position=
"
-153
"
>
<caret
line=
"2
1"
column=
"13"
lean-forward=
"false"
selection-start-line=
"21"
selection-start-column=
"13"
selection-end-line=
"21
"
selection-end-column=
"13"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/entity/PzxDetailInfoView.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/views/ModelManage/ModelResult.jsp
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
38
"
>
<caret
line=
"1
7"
column=
"15"
lean-forward=
"true"
selection-start-line=
"17"
selection-start-column=
"15"
selection-end-line=
"17"
selection-end-column=
"32
"
/>
<state
relative-caret-position=
"
22
"
>
<caret
line=
"1
99"
column=
"139"
lean-forward=
"false"
selection-start-line=
"199"
selection-start-column=
"139"
selection-end-line=
"199"
selection-end-column=
"158
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/entity/QualityRuleView.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/views/ModelManage/ModelMaintain.jsp
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-105
6"
>
<caret
line=
"
27"
column=
"32"
lean-forward=
"true"
selection-start-line=
"27"
selection-start-column=
"32"
selection-end-line=
"27"
selection-end-column=
"32
"
/>
<state
relative-caret-position=
"
149
6"
>
<caret
line=
"
112"
column=
"40"
lean-forward=
"false"
selection-start-line=
"112"
selection-start-column=
"40"
selection-end-line=
"112"
selection-end-column=
"40
"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<marker
date=
"1511516952446"
expanded=
"true"
signature=
"10247:10253"
ph=
"&nbsp;"
/>
<marker
date=
"1511516952446"
expanded=
"true"
signature=
"10253:10259"
ph=
"&nbsp;"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/
analysissupport/QualityRuleResult
Controller.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/
modelmanage/ModelMonitor
Controller.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1725"
>
<caret
line=
"121"
column=
"28"
lean-forward=
"false"
selection-start-line=
"121"
selection-start-column=
"28"
selection-end-line=
"121"
selection-end-column=
"28"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"286"
>
<caret
line=
"15"
column=
"13"
lean-forward=
"false"
selection-start-line=
"15"
selection-start-column=
"13"
selection-end-line=
"15"
selection-end-column=
"13"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
web/monitoroperation/WorkingOrderManageControll
.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
entity/ModelParameter
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"1
205
"
>
<caret
line=
"
189"
column=
"33"
lean-forward=
"true"
selection-start-line=
"189"
selection-start-column=
"33"
selection-end-line=
"189"
selection-end-column=
"3
3"
/>
<state
relative-caret-position=
"1
93
"
>
<caret
line=
"
20"
column=
"13"
lean-forward=
"false"
selection-start-line=
"20"
selection-start-column=
"13"
selection-end-line=
"20"
selection-end-column=
"1
3"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/entity/QualityRuleInfo.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/views/AnalysisSupport/QualityRuleConfiguration.jsp
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
2772
"
>
<caret
line=
"
195"
column=
"1"
lean-forward=
"false"
selection-start-line=
"195"
selection-start-column=
"1"
selection-end-line=
"195"
selection-end-column=
"1
"
/>
<state
relative-caret-position=
"
9849
"
>
<caret
line=
"
557"
column=
"7"
lean-forward=
"false"
selection-start-line=
"557"
selection-start-column=
"7"
selection-end-line=
"557"
selection-end-column=
"7
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/repository/DataModelDao.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/views/AnalysisSupport/QualityRuleResult.jsp
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-
20
"
>
<caret
line=
"
37"
column=
"14"
lean-forward=
"true"
selection-start-line=
"37"
selection-start-column=
"14"
selection-end-line=
"37"
selection-end-column=
"14
"
/>
<state
relative-caret-position=
"-
374
"
>
<caret
line=
"
126"
column=
"65"
lean-forward=
"true"
selection-start-line=
"126"
selection-start-column=
"65"
selection-end-line=
"126"
selection-end-column=
"65
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/WEB-INF/
layouts/header
.jsp"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/WEB-INF/
views/ModelManage/ModelParameterConfiguration
.jsp"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
26
4"
>
<caret
line=
"
276"
column=
"113"
lean-forward=
"false"
selection-start-line=
"276"
selection-start-column=
"113"
selection-end-line=
"276"
selection-end-column=
"113
"
/>
<state
relative-caret-position=
"
-4
4"
>
<caret
line=
"
37"
column=
"48"
lean-forward=
"true"
selection-start-line=
"37"
selection-start-column=
"48"
selection-end-line=
"37"
selection-end-column=
"48
"
/>
<folding>
<marker
date=
"1512092899872"
expanded=
"true"
signature=
"28676:28700"
ph=
"..."
/>
<marker
date=
"1512092899872"
expanded=
"true"
signature=
"28918:28932"
ph=
"..."
/>
<marker
date=
"1512092899872"
expanded=
"true"
signature=
"29204:29218"
ph=
"..."
/>
<marker
date=
"1512092899872"
expanded=
"true"
signature=
"29492:29506"
ph=
"..."
/>
<marker
date=
"1512092899872"
expanded=
"true"
signature=
"29669:29686"
ph=
"..."
/>
<marker
date=
"1511516640315"
expanded=
"true"
signature=
"12804:12810"
ph=
"&nbsp;"
/>
<marker
date=
"1511516640315"
expanded=
"true"
signature=
"12810:12816"
ph=
"&nbsp;"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/tags/PeriodTag.tag
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/repository/AccuracyRuleDao.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-2046
"
>
<caret
line=
"
0"
column=
"0"
lean-forward=
"false"
selection-start-line=
"0"
selection-start-column=
"0"
selection-end-line=
"0"
selection-end-column=
"0
"
/>
<state
relative-caret-position=
"
594
"
>
<caret
line=
"
36"
column=
"151"
lean-forward=
"false"
selection-start-line=
"36"
selection-start-column=
"151"
selection-end-line=
"36"
selection-end-column=
"151
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/views/MonitorOperation/InsideXcd.jsp
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/service/analysissupport/AccuracyRuleService.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"264"
>
<caret
line=
"93"
column=
"51"
lean-forward=
"true"
selection-start-line=
"93"
selection-start-column=
"51"
selection-end-line=
"93"
selection-end-column=
"51"
/>
<folding>
<marker
date=
"1511516640327"
expanded=
"true"
signature=
"13862:13918"
ph=
"..."
/>
</folding>
<state
relative-caret-position=
"215"
>
<caret
line=
"32"
column=
"40"
lean-forward=
"true"
selection-start-line=
"32"
selection-start-column=
"40"
selection-end-line=
"32"
selection-end-column=
"40"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/tags/GZFX_Period_stats.tag
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/web/analysissupport/QualityRuleOperationController.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
176
"
>
<caret
line=
"
101"
column=
"9"
lean-forward=
"false"
selection-start-line=
"101"
selection-start-column=
"9"
selection-end-line=
"101"
selection-end-column=
"2
2"
/>
<state
relative-caret-position=
"
-1797
"
>
<caret
line=
"
35"
column=
"2"
lean-forward=
"true"
selection-start-line=
"35"
selection-start-column=
"2"
selection-end-line=
"35"
selection-end-column=
"
2"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/views/AnalysisSupport/FilterRuleResult.jsp
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/web/modelmanage/ModelParameterConfigurationController.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
493
"
>
<caret
line=
"2
9"
column=
"88"
lean-forward=
"true"
selection-start-line=
"29"
selection-start-column=
"88"
selection-end-line=
"29"
selection-end-column=
"88
"
/>
<state
relative-caret-position=
"
1865
"
>
<caret
line=
"2
45"
column=
"59"
lean-forward=
"false"
selection-start-line=
"245"
selection-start-column=
"59"
selection-end-line=
"245"
selection-end-column=
"59
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/views/AnalysisSupport/QualityRuleResult.jsp
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/web/analysissupport/QualityRuleConfigurationController.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
299
"
>
<caret
line=
"2
9"
column=
"89"
lean-forward=
"false"
selection-start-line=
"29"
selection-start-column=
"89"
selection-end-line=
"29"
selection-end-column=
"89
"
/>
<state
relative-caret-position=
"
331
"
>
<caret
line=
"2
60"
column=
"8"
lean-forward=
"false"
selection-start-line=
"260"
selection-start-column=
"8"
selection-end-line=
"260"
selection-end-column=
"8
"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
service/analysissupport/QualityRuleInfoServic
e.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/
entity/AccuracyRul
e.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"374"
>
<caret
line=
"24"
column=
"38"
lean-forward=
"false"
selection-start-line=
"24"
selection-start-column=
"38"
selection-end-line=
"24"
selection-end-column=
"38"
/>
<folding>
<element
signature=
"e#556#557#0"
expanded=
"true"
/>
<element
signature=
"e#619#620#0"
expanded=
"true"
/>
</folding>
<state
relative-caret-position=
"41"
>
<caret
line=
"20"
column=
"15"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"15"
selection-end-line=
"20"
selection-end-column=
"35"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/views/AnalysisSupport/QualityRuleOperation.jsp
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/web/analysissupport/FilterRuleMaintainController.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
220
"
>
<caret
line=
"4
3"
column=
"54"
lean-forward=
"false"
selection-start-line=
"43"
selection-start-column=
"54"
selection-end-line=
"43"
selection-end-column=
"54
"
/>
<state
relative-caret-position=
"
-168
"
>
<caret
line=
"4
8"
column=
"40"
lean-forward=
"false"
selection-start-line=
"48"
selection-start-column=
"40"
selection-end-line=
"48"
selection-end-column=
"40
"
/>
<folding
/>
</state>
</provider>
</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/analysissupport/QualityRuleMaintainController.java
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
-1009
8"
>
<caret
line=
"
549"
column=
"39"
lean-forward=
"false"
selection-start-line=
"549"
selection-start-column=
"39"
selection-end-line=
"549"
selection-end-column=
"57
"
/>
<state
relative-caret-position=
"
74
8"
>
<caret
line=
"
74"
column=
"40"
lean-forward=
"true"
selection-start-line=
"52"
selection-start-column=
"4"
selection-end-line=
"74"
selection-end-column=
"40
"
/>
<folding>
<marker
date=
"1511516640337"
expanded=
"true"
signature=
"47293:47349"
ph=
"..."
/>
<marker
date=
"1511516640337"
expanded=
"true"
signature=
"47572:47583"
ph=
"..."
/>
<element
signature=
"e#8847#8853#0"
expanded=
"true"
/>
<element
signature=
"e#9016#9022#0"
expanded=
"true"
/>
<element
signature=
"e#9180#9186#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/
java/com/hp/cmsz/repository/QualityRuleInfoDao.java
"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/
webapp/WEB-INF/views/AnalysisSupport/QualityRuleMaintain.jsp
"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
286
"
>
<caret
line=
"
20"
column=
"0"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"0"
selection-end-line=
"20
"
selection-end-column=
"0"
/>
<state
relative-caret-position=
"
848
"
>
<caret
line=
"
496"
column=
"0"
lean-forward=
"false"
selection-start-line=
"496"
selection-start-column=
"0"
selection-end-line=
"541
"
selection-end-column=
"0"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleOperationController.java"
>
<entry
file=
"file://$PROJECT_DIR$/src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleMaintain.jsp"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"864"
>
<caret
line=
"202"
column=
"33"
lean-forward=
"false"
selection-start-line=
"202"
selection-start-column=
"33"
selection-end-line=
"202"
selection-end-column=
"33"
/>
<folding
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/src/main/java/com/hp/cmsz/web/modelmanage/ModelMaintainController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-
997
"
>
<caret
line=
"
82"
column=
"53"
lean-forward=
"false"
selection-start-line=
"82"
selection-start-column=
"53"
selection-end-line=
"82"
selection-end-column=
"5
3"
/>
<state
relative-caret-position=
"-
891
"
>
<caret
line=
"
57"
column=
"13"
lean-forward=
"false"
selection-start-line=
"57"
selection-start-column=
"13"
selection-end-line=
"57"
selection-end-column=
"1
3"
/>
<folding
/>
</state>
</provider>
...
...
src/main/java/com/hp/cmsz/repository/AccuracyRuleDao.java
View file @
29444a6f
...
...
@@ -34,7 +34,7 @@ public interface AccuracyRuleDao extends JpaSpecificationExecutor<AccuracyRule>,
//根据准确性规则ID更新准确性规则信息
@Modifying
@Query
(
"update AccuracyRule ar set ar.ruleType=:ruleType, ar.scopeMaxValue=:scopeMaxValue, ar.scopeMinValue=:scopeMinValue, ar.repeatedCheckGranularity=:repeatedCheckGranularity, ar.repeatedCheckStartTime=:repeatedCheckStartTime, ar.repeatedCheckEndTime=:repeatedCheckEndTime, ar.ifRepeatedCheckSeries=:ifRepeatedCheckSeries, ar.repeatedCheckMaxTime=:repeatedCheckMaxTime, ar.ifRepeatedCheckSummation=:ifRepeatedCheckSummation where ar.accuracyRuleId =:accuracyRuleId"
)
void
updateAccuracyRuleByAccuracyRuleId
(
@Param
(
"ruleType"
)
String
ruleType
,
@Param
(
"scopeMaxValue"
)
String
scopeMaxValue
,
@Param
(
"scopeMinValue"
)
String
scopeMinValue
,
@Param
(
"repeatedCheckGranularity"
)
String
repeatedCheckGranularity
,
@Param
(
"repeatedCheckStartTime"
)
Date
repeatedCheckStartTime
,
@Param
(
"repeatedCheckEndTime"
)
Date
repeatedCheckEndTime
,
@Param
(
"ifRepeatedCheckSeries"
)
String
ifRepeatedCheckSeries
,
@Param
(
"repeatedCheckMaxTime"
)
Long
repeatedCheckMaxTime
,
@Param
(
"ifRepeatedCheckSummation"
)
String
ifRepeatedCheckSummation
,
@Param
(
"accuracyRuleId"
)
Long
accuracyRuleId
);
void
updateAccuracyRuleByAccuracyRuleId
(
@Param
(
"ruleType"
)
String
ruleType
,
@Param
(
"scopeMaxValue"
)
Double
scopeMaxValue
,
@Param
(
"scopeMinValue"
)
Double
scopeMinValue
,
@Param
(
"repeatedCheckGranularity"
)
String
repeatedCheckGranularity
,
@Param
(
"repeatedCheckStartTime"
)
Date
repeatedCheckStartTime
,
@Param
(
"repeatedCheckEndTime"
)
Date
repeatedCheckEndTime
,
@Param
(
"ifRepeatedCheckSeries"
)
String
ifRepeatedCheckSeries
,
@Param
(
"repeatedCheckMaxTime"
)
Long
repeatedCheckMaxTime
,
@Param
(
"ifRepeatedCheckSummation"
)
String
ifRepeatedCheckSummation
,
@Param
(
"accuracyRuleId"
)
Long
accuracyRuleId
);
//根据准确性规则ID删除一条准确性规则信息
@Modifying
...
...
src/main/java/com/hp/cmsz/repository/QualityRuleInfoDao.java
View file @
29444a6f
...
...
@@ -5,7 +5,9 @@ import org.springframework.data.jpa.domain.Specification;
import
org.springframework.data.jpa.repository.JpaSpecificationExecutor
;
import
org.springframework.data.jpa.repository.Query
;
import
org.springframework.data.repository.PagingAndSortingRepository
;
import
sun.security.krb5.internal.Ticket
;
import
java.sql.Timestamp
;
import
java.util.Date
;
import
java.util.List
;
...
...
@@ -16,5 +18,5 @@ public interface QualityRuleInfoDao extends JpaSpecificationExecutor<QualityRule
List
<
QualityRuleInfo
>
findQualityRuleInfo
();
//根据筛选项查找
List
<
QualityRuleInfo
>
findByBusinessTimeBetweenAnd
ChannelIdInAndBusinessIdInAndProvinceIdInAndIfFilterInAndDataSourceIdInOrderByBusinessTimeDesc
(
Date
time1
,
Date
time2
,
List
<
Long
>
dataSource
,
List
<
Long
>
chnnal
,
List
<
Long
>
busines
,
List
<
Long
>
province
,
List
<
Long
>
ifFilter
);
List
<
QualityRuleInfo
>
findByBusinessTimeBetweenAnd
DataSourceIdInAndChannelIdInAndBusinessIdInAndProvinceIdInAndIfFilterInOrderByBusinessTimeDesc
(
Timestamp
time1
,
Timestamp
time2
,
List
<
Long
>
dataSource
,
List
<
Long
>
chnnal
,
List
<
Long
>
busines
,
List
<
Long
>
province
,
List
<
Long
>
ifFilter
);
}
src/main/java/com/hp/cmsz/service/analysissupport/AccuracyRuleService.java
View file @
29444a6f
...
...
@@ -29,7 +29,7 @@ public class AccuracyRuleService {
//根据准确性规则ID更新准确性规则
@Transactional
(
readOnly
=
false
)
public
void
updateAccuracyRuleByAccuracyRuleId
(
String
ruleType
,
String
scopeMaxValue
,
String
scopeMinValue
,
String
repeatedCheckGranularity
,
Date
repeatedCheckStartTime
,
Date
repeatedCheckEndTime
,
String
ifRepeatedCheckSeries
,
Long
repeatedCheckMaxTime
,
String
ifRepeatedCheckSummation
,
Long
accuracyRuleId
){
public
void
updateAccuracyRuleByAccuracyRuleId
(
String
ruleType
,
Double
scopeMaxValue
,
Double
scopeMinValue
,
String
repeatedCheckGranularity
,
Date
repeatedCheckStartTime
,
Date
repeatedCheckEndTime
,
String
ifRepeatedCheckSeries
,
Long
repeatedCheckMaxTime
,
String
ifRepeatedCheckSummation
,
Long
accuracyRuleId
){
accuracyRuleDao
.
updateAccuracyRuleByAccuracyRuleId
(
ruleType
,
scopeMaxValue
,
scopeMinValue
,
repeatedCheckGranularity
,
repeatedCheckStartTime
,
repeatedCheckEndTime
,
ifRepeatedCheckSeries
,
repeatedCheckMaxTime
,
ifRepeatedCheckSummation
,
accuracyRuleId
);
}
...
...
src/main/java/com/hp/cmsz/service/analysissupport/QualityRuleInfoService.java
View file @
29444a6f
package
com
.
hp
.
cmsz
.
service
.
analysissupport
;
import
com.hp.cmsz.entity.QualityRuleInfo
;
import
com.hp.cmsz.entity.Time
;
import
com.hp.cmsz.repository.QualityRuleInfoDao
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.sql.Timestamp
;
import
java.util.Date
;
import
java.util.List
;
...
...
@@ -21,7 +23,7 @@ public class QualityRuleInfoService {
}
//根据筛选项获取质量规则
public
List
<
QualityRuleInfo
>
getQualityRuleInfoBy
(
Date
time1
,
Date
time2
,
List
<
Long
>
dataSource
,
List
<
Long
>
chnnal
,
List
<
Long
>
busines
,
List
<
Long
>
province
,
List
<
Long
>
ifFilter
){
return
qualityRuleInfoDao
.
findByBusinessTimeBetweenAnd
ChannelIdInAndBusinessIdInAndProvinceIdInAndIfFilterInAndDataSourceId
InOrderByBusinessTimeDesc
(
time1
,
time2
,
dataSource
,
chnnal
,
busines
,
province
,
ifFilter
);
public
List
<
QualityRuleInfo
>
getQualityRuleInfoBy
(
Timestamp
time1
,
Timestamp
time2
,
List
<
Long
>
dataSource
,
List
<
Long
>
chnnal
,
List
<
Long
>
busines
,
List
<
Long
>
province
,
List
<
Long
>
ifFilter
){
return
qualityRuleInfoDao
.
findByBusinessTimeBetweenAnd
DataSourceIdInAndChannelIdInAndBusinessIdInAndProvinceIdInAndIfFilter
InOrderByBusinessTimeDesc
(
time1
,
time2
,
dataSource
,
chnnal
,
busines
,
province
,
ifFilter
);
}
}
src/main/java/com/hp/cmsz/web/analysissupport/FilterRuleMaintainController.java
View file @
29444a6f
package
com
.
hp
.
cmsz
.
web
.
analysissupport
;
import
java.util.List
;
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.web.bind.annotation.RequestMapping
;
...
...
@@ -18,9 +24,51 @@ import com.hp.cmsz.web.PageURLController;
@RequestMapping
(
value
=
"AnalysisSupport/FilterRuleMaintain"
)
public
class
FilterRuleMaintainController
{
@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
=
""
)
public
String
filterMaintainHome
(
Map
model
){
//查询出所有的省份
List
<
Province
>
provinceList
=(
List
<
Province
>)
provinceDao
.
findProvince
();
//查询出所有的渠道信息
List
<
Channel
>
channelList
=(
List
<
Channel
>)
channelDao
.
findChannel
();
//查询出所有的指标
List
<
Kpi
>
kpiList
=(
List
<
Kpi
>)
kpiDao
.
findAll
();
//查询出所有的业务
List
<
Object
[]>
businessList
=(
List
<
Object
[]>)
businessDao
.
findAllBusinessIdAndBusinessName
();
//查询出所有的数据类型
List
<
DataType
>
dataTypeList
=
(
List
<
DataType
>)
dataTypeDao
.
findAll
();
//查询出所有的数据来源
List
<
DataSource
>
dataSourceList
=(
List
<
DataSource
>)
dataSourceDao
.
findAll
();
Gson
gson
=
new
Gson
();
model
.
put
(
"provinceList"
,
provinceList
);
model
.
put
(
"channelList"
,
channelList
);
model
.
put
(
"kpiList"
,
kpiList
);
model
.
put
(
"businessList"
,
gson
.
toJson
(
businessList
));
model
.
put
(
"dataTypeList"
,
dataTypeList
);
model
.
put
(
"dataSourceList"
,
dataSourceList
);
return
PageURLController
.
FilterMaintain
;
}
}
src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleConfigurationController.java
View file @
29444a6f
package
com
.
hp
.
cmsz
.
web
.
analysissupport
;
import
java.io.IOException
;
import
java.io.PrintWriter
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -8,6 +12,10 @@ import java.util.Map;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
com.hp.cmsz.repository.*
;
import
com.hp.cmsz.service.BusinessService
;
import
com.hp.cmsz.service.CmszOperationLogService
;
import
com.hp.cmsz.service.analysissupport.QualityRuleService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
...
@@ -24,14 +32,6 @@ import com.hp.cmsz.entity.DataType;
import
com.hp.cmsz.entity.Kpi
;
import
com.hp.cmsz.entity.Province
;
import
com.hp.cmsz.entity.QualityRule
;
import
com.hp.cmsz.repository.AccuracyRuleDao
;
import
com.hp.cmsz.repository.BusinessDao
;
import
com.hp.cmsz.repository.ChannelDao
;
import
com.hp.cmsz.repository.DataSourceDao
;
import
com.hp.cmsz.repository.DataTypeDao
;
import
com.hp.cmsz.repository.KpiDao
;
import
com.hp.cmsz.repository.ProvinceDao
;
import
com.hp.cmsz.repository.QualityRuleDao
;
import
com.hp.cmsz.service.analysissupport.AccuracyRuleService
;
import
com.hp.cmsz.web.PageURLController
;
...
...
@@ -46,112 +46,220 @@ import com.hp.cmsz.web.PageURLController;
@RequestMapping
(
value
=
"AnalysisSupport/QualityRuleConfiguration"
)
public
class
QualityRuleConfigurationController
{
// @Autowired
// private ProvinceDao provinceDao;
//
// @Autowired
// private ChannelDao channelDao;
//
// @Autowired
// private BusinessDao businessDao;
//
// @Autowired
// private KpiDao kpiDao;
//
// @Autowired
// private DataTypeDao dataTypeDao;
//
// @Autowired
// private DataSourceDao dataSourceDao;
//
// @Autowired
// private QualityRuleDao qualityRuleDao;
//
//// @Autowired
//// private QualityRuleService qualityRuleService;
//
// @Autowired
// private AccuracyRuleDao accuracyRuleDao;
//
// @Autowired
// private AccuracyRuleService accuracyRuleService;
////
//// @Autowired
//// private CmszOperationLogService cmszOperationLogService;
//
// @RequestMapping(value = "")
// public String ruleMaintainHome(@RequestParam(value = "qualityRuleId", defaultValue ="") String qualityRuleId,
// Map model){
//
// QualityRule qualityRule = null;
// List<AccuracyRule> accuracyRuleList = null;
// if(!qualityRuleId.trim().equals("")){
// qualityRule = qualityRuleDao.findByQualityRuleId(Long.parseLong(qualityRuleId));
// accuracyRuleList = accuracyRuleDao.findByQualityRuleId(Long.parseLong(qualityRuleId));
// }
//
// //查询出所有的省份
// List<Province> provinceList=(List<Province>)provinceDao.findProvince();
// //查询出所有的渠道信息
// List<Channel> channelList=(List<Channel>)channelDao.findChannelWithoutAll();
// //查询出所有的指标
// List<Kpi> kpiList=(List<Kpi>)kpiDao.findAll();
// //查询出所有的业务
// List<Business> businessList=(List<Business>)businessDao.findAll();
// //查询出所有的数据类型
// List<DataType> dataTypeList= (List<DataType>)dataTypeDao.findAll();
// //查询出所有的数据来源
// List<DataSource> dataSourceList=(List<DataSource>)dataSourceDao.findAll();
// Gson gson = new Gson();
// model.put("provinceList", provinceList);
// model.put("channelList", channelList);
// model.put("kpiList", kpiList);
// model.put("businessList", gson.toJson(businessList));
// model.put("dataTypeList", dataTypeList);
// model.put("dataSourceList", dataSourceList);
//
// return PageURLController.RuleConfiguration;
// }
//
// //修改准确性规则信息
// @RequestMapping(value = "/updateAccuracyRule*",method=RequestMethod.GET)
// @ResponseBody
// public void updateParameter(
// @RequestParam(value="ruleType") String ruleType,
// @RequestParam(value="scopeMaxValue") double scopeMaxValue,
// @RequestParam(value="scopeMinValue") double scopeMinValue,
// @RequestParam(value="repeatedCheckGranularity") String repeatedCheckGranularity,
// @RequestParam(value="repeatedCheckStartTime") Date repeatedCheckStartTime,
// @RequestParam(value="repeatedCheckEndTime") Date repeatedCheckEndTime,
// @RequestParam(value="ifRepeatedCheckSeries") String ifRepeatedCheckSeries,
// @RequestParam(value="repeatedCheckMaxTime") Long repeatedCheckMaxTime,
// @RequestParam(value="ifRepeatedCheckSummation") String ifRepeatedCheckSummation,
// @RequestParam(value="qualityRuleId")String qualityRuleId,
// @RequestParam(value="accuracyRuleId")String accuracyRuleId){
//
// if(qualityRuleId.trim().equals("")){
// AccuracyRule accuracyRule = new AccuracyRule();
// accuracyRule.setAccuracyRuleId(Long.parseLong(qualityRuleId));
// accuracyRule.setRuleType(ruleType);
// accuracyRule.setScopeMinValue(scopeMaxValue);
// accuracyRule.setScopeMinValue(scopeMinValue);
// accuracyRule.setRepeatedCheckGranularity(repeatedCheckGranularity);
// accuracyRule.setRepeatedCheckStartTime(repeatedCheckStartTime);
// accuracyRule.setRepeatedCheckEndTime(repeatedCheckEndTime);
// accuracyRule.setIfRepeatedCheckSeries(ifRepeatedCheckSeries);
// accuracyRule.setRepeatedCheckMaxTime(repeatedCheckMaxTime);
// accuracyRule.setIfRepeatedCheckSummation(ifRepeatedCheckSummation);
//
// accuracyRuleDao.save(accuracyRule);
// }else{
// accuracyRuleService.updateAccuracyRuleByAccuracyRuleId(ruleType, scopeMaxValue, scopeMinValue, repeatedCheckGranularity, repeatedCheckStartTime, repeatedCheckEndTime, ifRepeatedCheckSeries, repeatedCheckMaxTime, ifRepeatedCheckSummation, Long.parseLong(accuracyRuleId));;
// }
//
// }
@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
;
@Autowired
private
QualityRuleDao
qualityRuleDao
;
@Autowired
private
QualityRuleService
qualityRuleService
;
@Autowired
private
AccuracyRuleDao
accuracyRuleDao
;
@Autowired
private
AccuracyRuleService
accuracyRuleService
;
@Autowired
private
CmszOperationLogService
cmszOperationLogService
;
private
String
staticQualityRuleId
=
""
;
private
Double
staticScopeMaxValue
=
0.00
;
private
Double
staticScopeMinValue
=
0.00
;
@RequestMapping
(
value
=
""
)
public
String
ruleMaintainHome
(
@RequestParam
(
value
=
"qualityRuleId"
,
defaultValue
=
""
)
String
qualityRuleId
,
Map
model
){
staticQualityRuleId
=
qualityRuleId
;
QualityRule
qualityRule
=
null
;
List
<
AccuracyRule
>
accuracyRuleList
=
null
;
if
(!
qualityRuleId
.
trim
().
equals
(
""
)){
qualityRule
=
qualityRuleDao
.
findByQualityRuleId
(
Long
.
parseLong
(
qualityRuleId
));
accuracyRuleList
=
accuracyRuleDao
.
findByQualityRuleId
(
Long
.
parseLong
(
qualityRuleId
));
}
//查询出所有的省份
List
<
Province
>
provinceList
=
provinceDao
.
findProvince
();
//查询出所有的渠道信息
List
<
Channel
>
channelList
=
channelDao
.
findChannel
();
//查询出所有的指标
List
<
Kpi
>
kpiList
=(
List
<
Kpi
>)
kpiDao
.
findAll
();
//查询出所有的业务
List
<
Object
[]>
businessList
=
businessDao
.
findAllBusinessIdAndBusinessName
();
//查询出所有的数据类型
List
<
DataType
>
dataTypeList
=
(
List
<
DataType
>)
dataTypeDao
.
findAll
();
//查询出所有的数据来源
List
<
DataSource
>
dataSourceList
=(
List
<
DataSource
>)
dataSourceDao
.
findAll
();
Gson
gson
=
new
Gson
();
model
.
put
(
"provinceList"
,
provinceList
);
model
.
put
(
"channelList"
,
channelList
);
model
.
put
(
"kpiList"
,
kpiList
);
model
.
put
(
"businessList"
,
gson
.
toJson
(
businessList
));
model
.
put
(
"dataTypeList"
,
dataTypeList
);
model
.
put
(
"dataSourceList"
,
dataSourceList
);
return
PageURLController
.
RuleConfiguration
;
}
@RequestMapping
(
value
=
"/findBusinessId*"
)
@ResponseBody
public
void
datasource_select
(
@RequestParam
(
value
=
"dataSource"
,
defaultValue
=
""
)
String
dataSource
,
@RequestParam
(
value
=
"channel"
,
defaultValue
=
""
)
String
channel
,
HttpServletResponse
response
)
{
System
.
out
.
println
(
dataSource
);
List
<
Object
[]>
resultList
=
new
ArrayList
<
Object
[]>();
List
<
Object
[]>
list
=
(
List
<
Object
[]>)
businessDao
.
findBusinessIdAndBusinessNameByDataSourceIdAndChannelIdWithIsActive
(
Long
.
parseLong
(
channel
),
Long
.
parseLong
(
dataSource
));
for
(
int
i
=
0
;
i
<
list
.
size
();
i
++){
Object
[]
objs
=
list
.
get
(
i
);
//将重复的业务名的Id写在同一个对象中
for
(
int
j
=
0
;
j
<
list
.
size
();
j
++){
if
(
i
==
j
){}
else
{
Object
[]
objs1
=
list
.
get
(
j
);
if
(
objs
[
1
].
equals
(
objs1
[
1
])){
objs
[
0
]
=
objs
[
0
]
+
","
+
objs1
[
0
];
list
.
remove
(
j
);
j
--;
}
}
}
resultList
.
add
(
objs
);
}
Gson
gson
=
new
Gson
();
response
.
setContentType
(
"text/Xml;chartset=gbk"
);
PrintWriter
out
=
null
;
try
{
out
=
response
.
getWriter
();
out
.
println
(
gson
.
toJson
(
resultList
));
}
catch
(
IOException
ex
){
ex
.
printStackTrace
();
}
finally
{
out
.
close
();
}
}
@RequestMapping
(
value
=
"/findKpiId*"
)
@ResponseBody
public
void
findKpiId
(
@RequestParam
(
value
=
"businessIds"
,
defaultValue
=
""
)
String
businessIds
,
@RequestParam
(
value
=
"calCycleValue"
,
defaultValue
=
"30MI"
)
String
calCycleValue
,
HttpServletResponse
response
){
String
[]
strs
=
businessIds
.
split
(
","
);
List
<
Long
>
businessIdlist
=
new
ArrayList
<
Long
>();
for
(
int
i
=
0
;
i
<
strs
.
length
;
i
++)
{
businessIdlist
.
add
(
Long
.
valueOf
(
strs
[
i
]));
}
List
<
Object
[]>
businessKpiList
=
(
List
<
Object
[]>)
kpiDao
.
findKpiIdAndKpiNameByBusinessIds
(
businessIdlist
,
calCycleValue
);
Gson
gson
=
new
Gson
();
response
.
setContentType
(
"text/Xml;charset=gbk"
);
PrintWriter
out
=
null
;
try
{
out
=
response
.
getWriter
();
out
.
println
(
gson
.
toJson
(
businessKpiList
));
}
catch
(
IOException
ex1
)
{
ex1
.
printStackTrace
();
}
finally
{
out
.
close
();
}
}
//删除准确性规则信息
@RequestMapping
(
value
=
"/deleteAccuracyRule*"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
public
void
deleteParameter
(
@RequestParam
(
value
=
"accuracyRuleId"
,
defaultValue
=
""
)
String
accuracyRuleId
,
@RequestParam
(
value
=
"qualityRuleId"
,
defaultValue
=
""
)
String
qualityRuleId
){
if
(!
accuracyRuleId
.
trim
().
equals
(
""
)){
accuracyRuleService
.
deleteAccuracyRuleByAccuracyRuleId
(
Long
.
parseLong
(
accuracyRuleId
));
}
if
(!
qualityRuleId
.
trim
().
equals
(
""
)){
accuracyRuleService
.
deleteAccuracyRuleByOneQualityRuleId
(
Long
.
parseLong
(
qualityRuleId
));
}
}
//修改准确性规则信息
@RequestMapping
(
value
=
"/updateAccuracyRule*"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
public
void
updateParameter
(
@RequestParam
(
value
=
"ruleType"
)
String
ruleType
,
@RequestParam
(
value
=
"scopeMaxValue"
)
double
scopeMaxValue
,
@RequestParam
(
value
=
"scopeMinValue"
)
double
scopeMinValue
,
@RequestParam
(
value
=
"repeatedCheckGranularity"
)
String
repeatedCheckGranularity
,
@RequestParam
(
value
=
"repeatedCheckStartTime"
)
Date
repeatedCheckStartTime
,
@RequestParam
(
value
=
"repeatedCheckEndTime"
)
Date
repeatedCheckEndTime
,
@RequestParam
(
value
=
"ifRepeatedCheckSeries"
)
String
ifRepeatedCheckSeries
,
@RequestParam
(
value
=
"repeatedCheckMaxTime"
)
Long
repeatedCheckMaxTime
,
@RequestParam
(
value
=
"ifRepeatedCheckSummation"
)
String
ifRepeatedCheckSummation
,
@RequestParam
(
value
=
"qualityRuleId"
)
String
qualityRuleId
,
@RequestParam
(
value
=
"accuracyRuleId"
)
String
accuracyRuleId
){
if
(
qualityRuleId
.
trim
().
equals
(
""
)){
AccuracyRule
accuracyRule
=
new
AccuracyRule
();
accuracyRule
.
setAccuracyRuleId
(
Long
.
parseLong
(
qualityRuleId
));
if
(
ruleType
==
"1"
)
{
accuracyRule
.
setRuleType
(
"范围"
);
}
else
if
(
ruleType
==
"2"
)
{
accuracyRule
.
setRuleType
(
"重复"
);
}
accuracyRule
.
setScopeMinValue
(
String
.
valueOf
(
scopeMaxValue
));
accuracyRule
.
setScopeMinValue
(
String
.
valueOf
(
scopeMinValue
));
accuracyRule
.
setRepeatedCheckGranularity
(
repeatedCheckGranularity
);
accuracyRule
.
setRepeatedCheckStartTime
(
repeatedCheckStartTime
);
accuracyRule
.
setRepeatedCheckEndTime
(
repeatedCheckEndTime
);
accuracyRule
.
setIfRepeatedCheckSeries
(
ifRepeatedCheckSeries
);
accuracyRule
.
setRepeatedCheckMaxTime
(
repeatedCheckMaxTime
);
accuracyRule
.
setIfRepeatedCheckSummation
(
ifRepeatedCheckSummation
);
accuracyRuleDao
.
save
(
accuracyRule
);
}
else
{
staticScopeMaxValue
=
Double
.
parseDouble
(
String
.
valueOf
(
scopeMaxValue
));
staticScopeMinValue
=
Double
.
parseDouble
(
String
.
valueOf
(
scopeMinValue
));
accuracyRuleService
.
updateAccuracyRuleByAccuracyRuleId
(
ruleType
,
staticScopeMaxValue
,
staticScopeMinValue
,
repeatedCheckGranularity
,
repeatedCheckStartTime
,
repeatedCheckEndTime
,
ifRepeatedCheckSeries
,
repeatedCheckMaxTime
,
ifRepeatedCheckSummation
,
Long
.
parseLong
(
accuracyRuleId
));;
}
}
@RequestMapping
()
public
String
updateQualityRuleForm
()
{
@RequestMapping
(
value
=
"/updateQualityRuleForm"
,
method
=
RequestMethod
.
POST
)
public
String
updateQualityRuleForm
(
@RequestParam
(
value
=
"businessid"
)
String
businessId
,
@RequestParam
(
value
=
"provinceid"
)
String
provinceId
,
@RequestParam
(
value
=
"channelid"
)
String
channelId
,
@RequestParam
(
value
=
"dataSourceid"
)
String
dataSourceId
,
@RequestParam
(
value
=
"kpiid"
)
String
kpiId
,
@RequestParam
(
value
=
"kpiMonitorTime"
)
String
kpiMonitorTime
,
@RequestParam
(
value
=
"businessTime"
)
String
businessTime
,
HttpServletResponse
response
,
HttpServletRequest
request
)
throws
ParseException
{
System
.
out
.
println
(
"businessId"
+
businessId
+
"provinceid"
+
provinceId
+
"channelId"
+
channelId
+
"dataSourceId"
+
dataSourceId
+
"kpi"
+
kpiId
+
"kpiMonitorTime"
+
kpiMonitorTime
+
"businessTime"
+
businessTime
);
SimpleDateFormat
sd
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
return
PageURLController
.
RuleConfiguration
;
}
}
src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleMaintainController.java
View file @
29444a6f
...
...
@@ -193,121 +193,105 @@ public class QualityRuleMaintainController {
@RequestParam
(
value
=
"ifRepeatedCheckSeries"
)
String
ifRepeatedCheckSeries
,
@RequestParam
(
value
=
"repeatedCheckMaxTime"
)
String
repeatedCheckMaxTime
,
@RequestParam
(
value
=
"ifRepeatedCheckSummation"
)
String
ifRepeatedCheckSummation
,
HttpServletResponse
response
,
HttpServletRequest
request
)
{
HttpServletResponse
response
,
HttpServletRequest
request
)
{
System
.
out
.
println
(
"ruleType"
+
ruleType
);
SimpleDateFormat
sd
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
AccuracyRule
accuracyRule
=
new
AccuracyRule
();
if
(!
ruleType
.
trim
().
equals
(
""
))
{
if
(!
ruleType
.
trim
().
equals
(
""
))
{
if
(
ruleType
==
"1"
)
{
accuracyRule
.
setRuleType
(
"范围"
);
}
else
if
(
ruleType
==
"2"
)
{
accuracyRule
.
setRuleType
(
"重复"
);
}
}
SimpleDateFormat
sd
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
if
(!
scopeMaxValue
.
trim
().
equals
(
""
)){
accuracyRule
.
setScopeMaxValue
(
scopeMaxValue
);}
if
(!
scopeMinValue
.
trim
().
equals
(
""
)){
accuracyRule
.
setScopeMinValue
(
scopeMinValue
);}
if
(!
repeatedCheckGranularity
.
trim
().
equals
(
""
)){
accuracyRule
.
setRepeatedCheckGranularity
(
repeatedCheckGranularity
);}
if
(!
repeatedCheckStartTime
.
trim
().
equals
(
""
)){
try
{
accuracyRule
.
setRepeatedCheckStartTime
(
sd
.
parse
(
repeatedCheckStartTime
));
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
if
(!
scopeMaxValue
.
trim
().
equals
(
""
))
{
accuracyRule
.
setScopeMaxValue
(
scopeMaxValue
);
}
}
if
(!
repeatedCheckEndTime
.
trim
().
equals
(
""
)){
try
{
accuracyRule
.
setRepeatedCheckEndTime
(
sd
.
parse
(
repeatedCheckEndTime
));
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
if
(!
scopeMinValue
.
trim
().
equals
(
""
))
{
accuracyRule
.
setScopeMinValue
(
scopeMinValue
);
}
}
if
(!
ifRepeatedCheckSeries
.
trim
().
equals
(
""
)){
accuracyRule
.
setIfRepeatedCheckSeries
(
ifRepeatedCheckSeries
);}
if
(!
repeatedCheckMaxTime
.
trim
().
equals
(
""
)){
accuracyRule
.
setRepeatedCheckMaxTime
(
Long
.
parseLong
(
repeatedCheckMaxTime
));}
if
(!
ifRepeatedCheckSummation
.
trim
().
equals
(
""
)){
accuracyRule
.
setIfRepeatedCheckSummation
(
ifRepeatedCheckSummation
);}
accuracyRule
.
setRuleCrtTime
(
new
Date
());
accuracyRule
.
setRuleUpdateTime
(
new
Date
());
if
(!
repeatedCheckGranularity
.
trim
().
equals
(
""
))
{
accuracyRule
.
setRepeatedCheckGranularity
(
repeatedCheckGranularity
);
}
if
(!
repeatedCheckStartTime
.
trim
().
equals
(
""
))
{
try
{
accuracyRule
.
setRepeatedCheckStartTime
(
sd
.
parse
(
repeatedCheckStartTime
));
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
}
}
if
(!
repeatedCheckEndTime
.
trim
().
equals
(
""
))
{
try
{
accuracyRule
.
setRepeatedCheckEndTime
(
sd
.
parse
(
repeatedCheckEndTime
));
}
catch
(
ParseException
e
)
{
e
.
printStackTrace
();
}
}
if
(!
ifRepeatedCheckSeries
.
trim
().
equals
(
""
))
{
accuracyRule
.
setIfRepeatedCheckSeries
(
ifRepeatedCheckSeries
);
}
if
(!
repeatedCheckMaxTime
.
trim
().
equals
(
""
))
{
accuracyRule
.
setRepeatedCheckMaxTime
(
Long
.
parseLong
(
repeatedCheckMaxTime
));
}
if
(!
ifRepeatedCheckSummation
.
trim
().
equals
(
""
))
{
accuracyRule
.
setIfRepeatedCheckSummation
(
ifRepeatedCheckSummation
);
}
accuracyRule
.
setRuleCrtTime
(
new
Date
());
accuracyRule
.
setRuleUpdateTime
(
new
Date
());
accuracyRuleDao
.
save
(
accuracyRule
);
accuracyRuleDao
.
save
(
accuracyRule
);
Long
qualityRuleId
=
accuracyRule
.
getAccuracyRuleId
();
qualityRuleIdList
.
add
(
qualityRuleId
);
Long
qualityRuleId
=
accuracyRule
.
getAccuracyRuleId
();
qualityRuleIdList
.
add
(
qualityRuleId
);
}
}
//新增质量模型
@RequestMapping
(
value
=
"/saveRuleDataForm"
,
method
=
RequestMethod
.
POST
)
public
String
saveRuleDataForm
(
// @RequestParam(value="channel") String channel,
// @RequestParam(value="dataSource") String dataSourceId,
// @RequestParam(value="kpiMonitorTime") String kpiMonitorTime,
// @RequestParam(value="businessTime") String businessTime,
// @RequestParam(value="ruleCrtTime") String ruleCrtTime,
// @RequestParam(value="ruleUpdateTime") String ruleUpdateTime,
HttpServletResponse
response
,
HttpServletRequest
request
)
throws
ParseException
{
// String province = request.getParameter("province");
// String businessValue = request.getParameter("businessinput");
String
channel
=
request
.
getParameter
(
"channel"
);
// String dataSourceId =request.getParameter("dataSource");
// String kpiValue = request.getParameter("kpiinput");
// String kpiMonitorTime=request.getParameter("kpiMonitorTime");
// String businessTime=request.getParameter("businessTime");
// String ruleCrtTime=request.getParameter("ruleCrtTime");
// String ruleUpdateTime=request.getParameter("ruleUpdateTime");
// String provinceId = "";
// String businessId = "";
// String kpiId = "";
//新增质量模型
@RequestMapping
(
value
=
"/saveRuleDataForm"
,
method
=
RequestMethod
.
POST
)
public
String
saveRuleDataForm
(
@RequestParam
(
value
=
"businessinput"
)
String
business
,
@RequestParam
(
value
=
"province"
)
String
province
,
@RequestParam
(
value
=
"channel"
)
String
channel
,
@RequestParam
(
value
=
"dataSource"
)
String
dataSourceId
,
@RequestParam
(
value
=
"kpiinput"
)
String
kpi
,
@RequestParam
(
value
=
"kpiUnit"
)
String
kpiUnit
,
@RequestParam
(
value
=
"kpiMonitorTime"
)
String
kpiMonitorTime
,
@RequestParam
(
value
=
"businessTime"
)
String
businessTime
,
HttpServletResponse
response
,
HttpServletRequest
request
)
throws
ParseException
{
SimpleDateFormat
sd
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
QualityRule
qualityRule
=
new
QualityRule
();
// List<Long> provinceIdList = new ArrayList<Long>();
// for(int i=0;i<province.split(",").length;i++){
// provinceIdList.add(Long.parseLong(province.split(",")[i]));
// }
// List<Long> businessIdList = new ArrayList<Long>();
// for(int i=0;i<businessValue.split(",").length;i++){
// businessIdList.add(Long.parseLong(businessValue.split(",")[i]));
// }
// List<Long> kpiIdList = new ArrayList<Long>();
// for(int i=0;i<kpiValue.split(",").length;i++){
// kpiIdList.add(Long.parseLong(kpiValue.split(",")[i]));
// }
// System.out.println("provinceIdList:"+provinceIdList+"businessIdList:"+businessIdList+"kpiIdList:"+kpiIdList);
// for(int j=0; j<provinceIdList.size(); j++) {
// for(int k=0; k<businessIdList.size(); k++){
// for(int l=0; l<kpiIdList.size(); l++){
// provinceId = String.valueOf(provinceIdList.get(j));
// businessId = String.valueOf(businessIdList.get(k));
// kpiId = String.valueOf(kpiIdList.get(l));
// if(!provinceId.trim().equals("")){qualityRule.setProvinceId(Long.parseLong(provinceId));}
// if(!businessId.trim().equals("")){qualityRule.setBusinessId(Long.parseLong(businessId));}
// if(!kpiId.trim().equals("")){qualityRule.setKpiId(Long.parseLong(kpiId));}
qualityRule
.
setProvinceId
(
Long
.
parseLong
(
"1"
));
qualityRule
.
setBusinessId
(
Long
.
parseLong
(
"1490"
));
qualityRule
.
setKpiId
(
Long
.
parseLong
(
"2411"
));
if
(!
channel
.
trim
().
equals
(
""
)){
qualityRule
.
setChannelId
(
Long
.
parseLong
(
channel
));
}
//if(!dataSourceId.trim().equals("")){
qualityRule
.
setDataSourceId
(
Long
.
parseLong
(
"7"
));
//}
//if(!kpiMonitorTime.trim().equals("")){
qualityRule
.
setKpiMonitorTime
(
"4"
);
//}
qualityRule
.
setKpiMonitorRunTime
(
Timestamp
.
valueOf
(
sd
.
format
(
new
Date
())));
//if(!businessTime.trim().equals("")){
qualityRule
.
setBusinessTime
(
Timestamp
.
valueOf
(
sd
.
format
(
new
Date
())));
//}
qualityRule
.
setRuleCrtTime
(
Timestamp
.
valueOf
(
sd
.
format
(
new
Date
())));
qualityRule
.
setRuleUpdateTime
(
Timestamp
.
valueOf
(
sd
.
format
(
new
Date
())));
qualityRule
.
setRuleValidFlag
(
"0"
);
qualityRule
.
setIfSystemValue
(
"0"
);
System
.
out
.
println
(
"qualityRule"
+
qualityRule
);
qualityRuleDao
.
save
(
qualityRule
);
// }
// }
// }
cmszOperationLogService
.
createLog
(
"增加"
,
"新建质量模型"
,
"quality_rule_warehouse_info_t. QUALITY_RULE_ID="
+
qualityRule
.
getQualityRuleId
().
toString
());
Long
qualityRuleId
=
qualityRule
.
getQualityRuleId
();
return
"redirect:AnalysisSupport/QualityRuleResult"
;
}
System
.
out
.
println
(
"0000"
+
kpiUnit
);
SimpleDateFormat
sd
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
);
List
<
Long
>
provinceIdList
=
new
ArrayList
<
Long
>();
for
(
int
i
=
0
;
i
<
province
.
split
(
","
).
length
;
i
++){
provinceIdList
.
add
(
Long
.
parseLong
(
province
.
split
(
","
)[
i
]));
}
List
<
Long
>
businessIdList
=
new
ArrayList
<
Long
>();
for
(
int
i
=
0
;
i
<
business
.
split
(
","
).
length
;
i
++){
businessIdList
.
add
(
Long
.
parseLong
(
business
.
split
(
","
)[
i
]));
}
List
<
Long
>
kpiIdList
=
new
ArrayList
<
Long
>();
for
(
int
i
=
0
;
i
<
kpi
.
split
(
","
).
length
;
i
++){
kpiIdList
.
add
(
Long
.
parseLong
(
kpi
.
split
(
","
)[
i
]));
}
for
(
int
j
=
0
;
j
<
provinceIdList
.
size
();
j
++)
{
for
(
int
l
=
0
;
l
<
kpiIdList
.
size
();
l
++){
QualityRule
qualityRule
=
new
QualityRule
();
qualityRule
.
setProvinceId
(
provinceIdList
.
get
(
j
));
qualityRule
.
setKpiId
(
kpiIdList
.
get
(
l
));
if
(!
channel
.
trim
().
equals
(
""
)){
qualityRule
.
setChannelId
(
Long
.
parseLong
(
channel
));
}
if
(!
dataSourceId
.
trim
().
equals
(
""
)){
qualityRule
.
setDataSourceId
(
Long
.
parseLong
(
dataSourceId
));
}
if
(!
kpiMonitorTime
.
trim
().
equals
(
""
)){
qualityRule
.
setKpiMonitorTime
(
kpiMonitorTime
);
}
qualityRule
.
setKpiMonitorRunTime
(
Timestamp
.
valueOf
(
sd
.
format
(
new
Date
())));
if
(!
businessTime
.
trim
().
equals
(
""
)){
qualityRule
.
setBusinessTime
(
Timestamp
.
valueOf
(
businessTime
));
}
qualityRule
.
setRuleCrtTime
(
Timestamp
.
valueOf
(
sd
.
format
(
new
Date
())));
qualityRule
.
setRuleUpdateTime
(
Timestamp
.
valueOf
(
sd
.
format
(
new
Date
())));
qualityRule
.
setRuleValidFlag
(
"0"
);
qualityRule
.
setIfSystemValue
(
"0"
);
qualityRuleDao
.
save
(
qualityRule
);
cmszOperationLogService
.
createLog
(
"增加"
,
"新建质量模型"
,
"quality_rule_warehouse_info_t. QUALITY_RULE_ID="
+
qualityRule
.
getQualityRuleId
().
toString
());
Long
qualityRuleId
=
qualityRule
.
getQualityRuleId
();
}
}
return
"redirect:/AnalysisSupport/QualityRuleResult"
;
}
}
src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleOperationController.java
View file @
29444a6f
...
...
@@ -18,10 +18,12 @@ import org.springframework.web.bind.annotation.RequestMethod;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
javax.servlet.ServletOutputStream
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.io.PrintWriter
;
import
java.io.UnsupportedEncodingException
;
import
java.sql.Timestamp
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.util.ArrayList
;
...
...
@@ -97,7 +99,7 @@ public class QualityRuleOperationController {
}
//根据筛选项搜索
@RequestMapping
(
value
=
"/
changeTable*"
,
method
=
RequestMethod
.
POS
T
)
@RequestMapping
(
value
=
"/
operationChangeTable*"
,
method
=
RequestMethod
.
GE
T
)
@ResponseBody
public
void
changeTable
(
@RequestParam
(
value
=
"period"
)
String
period
,
// 时间
@RequestParam
(
value
=
"dataSource"
)
String
dataSource
,
// 数据来源
...
...
@@ -106,23 +108,24 @@ public class QualityRuleOperationController {
@RequestParam
(
value
=
"province"
)
String
province
,
//省份
@RequestParam
(
value
=
"ifFilter"
)
String
ifFilter
,
//是否过滤
HttpServletResponse
response
)
throws
ParseException
,
UnsupportedEncodingException
{
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH
:mm:ss"
);
SimpleDateFormat
format
=
new
SimpleDateFormat
(
"yyyy-MM-dd hh
:mm:ss"
);
cmszOperationLogService
.
createLog
(
"查询"
,
"质量规则运营查询"
,
"质量规则运营页面查询"
);
List
<
QualityRuleInfo
>
qualityRuleInfoList
;
String
[]
time
=
period
.
split
(
"~"
);
String
[]
dates
=
period
.
split
(
"~"
);
String
[]
dataSourceS
=
dataSource
.
split
(
","
);
String
[]
chnnalS
=
chnnal
.
split
(
","
);
String
[]
bussinesS
=
bussines
.
split
(
","
);
String
[]
provinceS
=
province
.
split
(
","
);
String
[]
ifFilterS
=
province
.
split
(
","
);
Date
time1
=
sdf
.
parse
(
time
[
0
]
);
Date
time2
=
sdf
.
parse
(
time
[
1
]
);
String
[]
ifFilterS
=
ifFilter
.
split
(
","
);
Timestamp
time1
=
new
Timestamp
(
format
.
parse
(
dates
[
0
]).
getTime
()
);
Timestamp
time2
=
new
Timestamp
(
format
.
parse
(
dates
[
1
]).
getTime
()
);
List
<
Long
>
dataSourceList
=
changeStrToList
(
dataSourceS
);
List
<
Long
>
chnnalList
=
changeStrToList
(
chnnalS
);
List
<
Long
>
bussinesList
=
changeStrToList
(
bussinesS
);
List
<
Long
>
provinceList
=
changeStrToList
(
provinceS
);
List
<
Long
>
ifFilterList
=
changeStrToList
(
ifFilterS
);
System
.
out
.
println
(
"qualityRule:"
+
time1
+
time2
+
"data"
+
dataSourceList
+
"busin"
+
bussinesList
+
"procin"
+
provinceList
+
"if"
+
ifFilterList
);
qualityRuleInfoList
=
qualityRuleInfoService
.
getQualityRuleInfoBy
(
time1
,
time2
,
dataSourceList
,
chnnalList
,
bussinesList
,
provinceList
,
ifFilterList
);
Gson
gson
=
new
Gson
();
response
.
setContentType
(
"text/Xml;charset=gbk"
);
...
...
src/main/webapp/WEB-INF/tags/QualityRule_IfFilter.tag
View file @
29444a6f
...
...
@@ -7,14 +7,14 @@
<div id="ws" class="slide-menu-option">
<label>是否过滤</label>
<select class="slide-menu-select" id="ifFilter" name="ifFilter">
<option value="'1'" title="是"><a href="#">是</a></option>
<option value="'0'" title="否"><a href="#">否</a></option>
<option value="0,1" title="全部"selected><a href="#">全部</a></option>
<option value="1" title="是"><a href="#">是</a></option>
<option value="0" title="否"><a href="#">否</a></option>
</select>
</div>
<script type="text/javascript">
//获取其被选中的value,若是0则代表不是关键配置,若是1则代表是关键配置
function getIfFilter(){
return $("#ifFilter").val();
}
...
...
@@ -25,6 +25,6 @@
}
function RelFilterRest() {
$("#ifFilter").val("1");
$("#ifFilter").val("
0,
1");
}
</script>
\ No newline at end of file
src/main/webapp/WEB-INF/views/AnalysisSupport/FilterRuleMaintain.jsp
View file @
29444a6f
...
...
@@ -53,16 +53,48 @@
<form
action=
"#"
class=
"form-horizontal"
id=
"filterMaintainForm"
method=
"post"
enctype=
"multipart/form-data"
>
<table
id=
"filterMaintainTable"
class=
"table-null"
>
<tr><td>
省份(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><tags:ProvinceTag
/></td>
<td>
<c:forEach
var=
"province"
items=
"${provinceList}"
>
<input
type=
"checkbox"
name=
"province"
id=
"province"
value=
"${province.provinceId}"
checked
>
${province.provinceName}
</c:forEach>
</td>
</tr>
<tr><td>
数据来源(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
<select
class=
"form-control"
name=
"dataSource"
id=
"dataSource"
>
<c:forEach
var=
"dataSource"
items=
"${dataSourceList}"
>
<c:if
test=
"${dataSource.dataSourceId == '5'}"
>
<option
value=
"${dataSource.dataSourceId}"
selected
>
${dataSource.dataSourceName}
</option>
</c:if
>
<c:if
test=
"${dataSource.dataSourceId != '5'}"
>
<option
value=
"${dataSource.dataSourceId}"
>
${dataSource.dataSourceName}
</option>
</c:if
>
</c:forEach>
</select></td>
</tr>
<tr><td>
渠道(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><tags:ChannelTag
/></td>
<td><select
class=
"form-control"
name=
"channel"
id=
"channel"
>
<c:forEach
var=
"channel"
items=
"${channelList}"
>
<c:if
test=
"${channel.channelId == '7'}"
>
<option
value=
"${channel.channelId}"
selected
>
${channel.channelName}
</option>
</c:if>
<c:if
test=
"${channel.channelId != '7'}"
>
<option
value=
"${channel.channelId}"
>
${channel.channelName}
</option>
</c:if>
</c:forEach>
</select></td>
</tr>
<tr><td>
业务(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><tags:BusinessTag
/></td>
<td
>
<div
id=
"businesstd"
></div>
</td>
</tr>
<tr><td>
数据来源(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><tags:DataSourceTag
/></td>
<tr><td>
指标(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
<div
id=
"kpitd"
></div>
</td>
</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 id="ruleUpdateTime" name="ruleUpdateTime" class="form-control" type="text" onFocus="WdatePicker({maxDate:'#F{$dp.$D(\'ruleUpdateTime\')}'})"> </td></tr> -->
...
...
@@ -96,5 +128,139 @@ $(".ifRepeate").change(function (){
$
(
".period"
).
show
();
}
})
function
getProvinceCheckedValues
()
{
var
provinceArray
=
new
Array
();
var
i
=
0
;
$
(
"#province:checked"
).
each
(
function
(){
provinceArray
[
i
]
=
$
(
this
).
val
();
i
++
;
});
return
provinceArray
;
}
function
getProvinceCheckedValuesString
(){
var
provinceStr
=
""
;
var
provinceArray
=
getProvinceCheckedValues
();
for
(
var
i
=
0
;
i
<
provinceArray
.
length
;
i
++
){
if
(
i
==
provinceArray
.
length
-
1
){
provinceStr
+=
provinceArray
[
i
];
}
else
{
provinceStr
+=
provinceArray
[
i
]
+
","
;
}
}
return
provinceStr
;
}
var
dataSourceValue
=
$
(
"#dataSource"
).
val
();
var
channelValue
=
$
(
"#channel"
).
val
();
var
businessIds
=
getBusinessCheckedValues
();
var
calCycleValue
=
$
(
"#calCycle"
).
val
();
$
(
"#dataSource"
).
change
(
function
(){
dataSourceValue
=
$
(
"#dataSource"
).
val
();
updateBusiness
(
dataSourceValue
,
channelValue
);
});
$
(
"#channel"
).
change
(
function
(){
channelValue
=
$
(
"#channel"
).
val
();
updateBusiness
(
dataSourceValue
,
channelValue
);
});
function
updateKpi
(
businessIds
){
$
.
ajax
({
type
:
"GET"
,
contentType
:
"application/json"
,
url
:
"${ctx}/AnalysisSupport/QualityRuleMaintain/findKpiId?businessIds="
+
businessIds
,
async
:
false
,
beforeSend
:
function
(
data
)
{},
success
:
function
(
data
){
var
td
=
$
(
"#kpitd"
);
td
.
empty
();
data
=
JSON
.
parse
(
data
)
data
.
forEach
(
function
(
t
){
td
.
append
(
"<input type='checkbox' name='kpiinput' class='kpiItem' value='"
+
t
[
0
]
+
"' checked >"
+
t
[
1
]
+
"</input>"
)
});
}
});
}
function
updateBusiness
(
dataSource
,
channel
){
$
.
ajax
({
type
:
"GET"
,
contentType
:
"application/json"
,
url
:
"${ctx}/AnalysisSupport/QualityRuleMaintain/findBusinessId?dataSource="
+
dataSource
+
"&channel="
+
channel
,
async
:
false
,
beforeSend
:
function
(
data
)
{},
success
:
function
(
data
){
var
td
=
$
(
"#businesstd"
);
var
businessIds
=
new
Array
();
td
.
empty
();
data
=
JSON
.
parse
(
data
)
data
.
forEach
(
function
(
t
){
td
.
append
(
"<input type='checkbox' name='businessinput' class='businessItem' value='"
+
t
[
0
]
+
"' checked >"
+
t
[
1
]
+
"</input>"
)
businessIds
+=
t
[
0
]
+
","
;
});
updateKpi
(
businessIds
);
}
});
$
(
".businessItem"
).
click
(
function
(){
businessIds
=
""
;
$
(
"[name='businessinput']:checked"
).
each
(
function
(){
businessIds
+=
$
(
this
).
val
()
+
","
;
});
updateKpi
(
businessIds
);
});
}
updateBusiness
(
$
(
"#dataSource"
).
val
(),
$
(
"#channel"
).
val
());
function
getBusinessCheckedValues
(){
var
businessArray
=
new
Array
();
var
i
=
0
;
$
(
"[name='businessinput']:checked"
).
each
(
function
(){
businessArray
[
i
]
=
$
(
this
).
val
();
i
++
;
});
return
businessArray
;
}
function
getBusinessCheckedValuesString
(){
var
businessStr
=
""
;
var
businessArray
=
getBusinessCheckedValues
();
for
(
var
i
=
0
;
i
<
businessArray
.
length
;
i
++
){
if
(
i
==
businessArray
.
length
-
1
){
businessStr
+=
businessArray
[
i
];
}
else
{
businessStr
+=
businessArray
[
i
]
+
","
;
}
}
return
businessStr
;
}
function
getKpiCheckedValues
(){
var
kpiArray
=
new
Array
();
var
i
=
0
;
$
(
"[name='kpiinput']:checked"
).
each
(
function
(){
kpiArray
[
i
]
=
$
(
this
).
val
();
i
++
;
});
return
kpiArray
;
}
function
getKpiCheckedValuesString
(){
var
kpiStr
=
""
;
var
kpiArray
=
getKpiCheckedValues
();
for
(
var
i
=
0
;
i
<
kpiArray
.
length
;
i
++
){
if
(
i
==
kpiArray
.
length
-
1
){
kpiStr
+=
kpiArray
[
i
];
}
else
{
kpiStr
+=
kpiArray
[
i
]
+
","
;
}
}
return
kpiStr
;
}
</script>
\ No newline at end of file
src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleConfiguration.jsp
View file @
29444a6f
...
...
@@ -6,7 +6,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
质量规则维护
</title>
<title>
数据
质量规则维护
</title>
<style>
.table-null
.table
{
margin-bottom
:
0px
;
...
...
@@ -38,7 +38,7 @@
<ol
class=
"breadcrumb"
>
<li><a
href=
"${ctx}/index"
>
首页
</a></li>
<li>
数据质量核查
</li>
<li
class=
"active"
>
质量规则维护
</li>
<li
class=
"active"
>
数据
质量规则维护
</li>
</ol>
</div>
<div
id=
"main-container main-tab-container"
>
...
...
@@ -49,78 +49,121 @@
<div
class=
"tab-pane fade in active"
id=
"home"
>
<div
class=
"row"
>
<div
class=
"col-xs-12"
>
<div
class=
"table-header"
>
质量规则更新
</div>
<form
action=
"#"
class=
"form-horizontal"
id=
"ruleMaintainForm"
method=
"post"
enctype=
"multipart/form-data"
>
<table
id=
"ruleMaintainTable"
class=
"table-null"
>
<tr><td>
省份(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><tags:ProvinceTag
/></td>
</tr>
<tr><td>
渠道(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><tags:ChannelTag
/></td>
</tr>
<tr><td>
业务(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><tags:BusinessTag
/></td>
</tr>
<tr><td>
数据来源(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><tags:DataSourceTag
/></td>
</tr>
<tr><td>
数据采集频率(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><select
class=
"form-control"
name=
""
id=
""
style=
"display: inline;"
>
<option
value=
"0"
>
30分钟
</option>
<option
value=
"1"
>
1小时
</option>
<option
value=
"2"
>
1天
</option>
<option
value=
"3"
>
1月
</option>
</select></td></tr>
<tr><td>
指标检测时间(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
<div>
<input
type=
"text"
class=
"form-control"
name=
"kpiMonitorTime"
id=
"kpiMonitorTime"
style=
"display: inline;"
/>
<select
class=
"form-control"
name=
""
id=
""
style=
"display: inline;"
>
<option
value=
"0"
>
分钟
</option>
<option
value=
"1"
>
小时
</option>
<option
value=
"2"
>
天
</option>
<option
value=
"3"
>
月
</option>
</select>
</div></td>
</tr>
<tr><td>
指标检测范围(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
<div>
<input
type=
"text"
class=
"form-control"
name=
"kpiMonitorRange"
id=
"kpiMonitorRange"
style=
"display: inline;"
/>
<select
class=
"form-control"
name=
""
id=
""
style=
"display: inline;"
>
<option
value=
"0"
>
分钟
</option>
<option
value=
"1"
>
小时
</option>
<option
value=
"2"
>
天
</option>
<option
value=
"3"
>
月
</option>
</select>
</div></td>
</tr>
<tr><td>
完整性阈值(
<font
color=
"red"
>
必填
</font>
):
</td><td><input
type=
'text'
name=
'integrityThresholdValue'
id=
'integrityThresholdValue'
class=
"form-control"
style=
"display: inline;"
/></td></tr>
<tr><td>
及时性阈值(
<font
color=
"red"
>
必填
</font>
):
</td><td><input
type=
'text'
name=
'timelinessThresholdValue'
id=
'timelinessThresholdValue'
class=
"form-control"
style=
"display: inline;"
/></td></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
id=
"ruleUpdateTime"
name=
"ruleUpdateTime"
class=
"form-control"
type=
"text"
onFocus=
"WdatePicker({maxDate:'#F{$dp.$D(\'ruleUpdateTime\')}'})"
>
</td></tr>
<tr><td>
准确性规则:
</td>
<td><select
class=
"form-control"
name=
"accuracyRule"
id=
"accuracyRule"
>
<option
value=
"0"
>
无
</option>
<option
value=
"1"
>
范围类
</option>
<option
value=
"2"
>
重复类
</option>
</select></td></tr>
<tr
class=
"range"
><td>
范围最大值:
</td><td><input
type=
"text"
class=
"form-control"
name=
"scopeMaxValue"
id=
"scopeMaxValue"
/></td></tr>
<tr
class=
"range"
><td>
范围最小值:
</td><td><input
type=
"text"
class=
"form-control"
name=
"scopeMinValue"
id=
"scopeMinValue"
/></td></tr>
<tr
class=
"repeate"
><td>
重复考核粒度:
</td><td><input
type=
'text'
name=
'repeatedCheckGranularity'
id=
'repeatedCheckGranularity'
class=
"form-control"
style=
"display: inline;"
/></td></tr>
<tr
class=
"repeate"
><td>
重复考核开始时间:
</td><td><input
type=
"text"
class=
"form-control"
id=
"repeatedCheckStartTime"
name=
"repeatedCheckStartTime"
onfocus=
"WdatePicker({minDate:'#F{$dp.$D(\'repeatedCheckStartTime\')}'})"
/></td></tr>
<tr
class=
"repeate"
><td>
重复考核结束时间:
</td><td><input
id=
"repeatedCheckEndTime"
name=
"repeatedCheckEndTime"
class=
"form-control"
type=
"text"
onFocus=
"WdatePicker({maxDate:'#F{$dp.$D(\'repeatedCheckEndTime\')}'})"
></td></tr>
<tr
class=
"repeate"
><td>
重复是否连续:
</td><td><input
type=
'text'
name=
'ifRepeatedCheckSeries'
id=
'ifRepeatedCheckSeries'
class=
"form-control"
style=
"display: inline;"
/></td></tr>
<tr
class=
"repeate"
><td>
重复最大次数:
</td><td><input
type=
'text'
name=
'repeatedCheckMaxTime'
id=
'repeatedCheckMaxTime'
class=
"form-control"
style=
"display: inline;"
/></td></tr>
<tr
class=
"repeate"
><td>
数据是否累计:
</td><td><input
type=
'text'
name=
'ifRepeatedCheckSummation'
id=
'ifRepeatedCheckSummation'
class=
"form-control"
style=
"display: inline;"
/></td></tr>
<tr><td></td><td><button
type=
"button"
id=
"ruleSubmit"
class=
"btn btn-primary"
>
确定
</button>
<button
type=
"reset"
class=
"btn btn-default"
id=
"ruleReset"
>
清空
</button>
<button
type=
"reset"
class=
"btn btn-warning"
id=
"ruleBack"
>
返回
</button>
<div
class=
"table-header"
>
数据质量规则更新
</div>
<form
action=
"#"
class=
"form-horizontal"
id=
"ruleUpdateForm"
method=
"post"
>
<table
id=
"ruleMaintainTable"
class=
"table-null"
>
<tr><td>
省份(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
<c:forEach
var=
"province"
items=
"${provinceList}"
>
<input
type=
"checkbox"
name=
"province"
id=
"province"
value=
"${province.provinceId}"
checked
>
${province.provinceName}
</c:forEach>
</td>
</tr>
<tr><td>
数据来源(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
<select
class=
"form-control"
name=
"dataSource"
id=
"dataSource"
>
<c:forEach
var=
"dataSource"
items=
"${dataSourceList}"
>
<c:if
test=
"${dataSource.dataSourceId == '5'}"
>
<option
value=
"${dataSource.dataSourceId}"
selected
>
${dataSource.dataSourceName}
</option>
</c:if
>
<c:if
test=
"${dataSource.dataSourceId != '5'}"
>
<option
value=
"${dataSource.dataSourceId}"
>
${dataSource.dataSourceName}
</option>
</c:if
>
</c:forEach>
</select></td>
</tr>
<tr><td>
渠道(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><select
class=
"form-control"
name=
"channel"
id=
"channel"
>
<c:forEach
var=
"channel"
items=
"${channelList}"
>
<c:if
test=
"${channel.channelId == '7'}"
>
<option
value=
"${channel.channelId}"
selected
>
${channel.channelName}
</option>
</c:if>
<c:if
test=
"${channel.channelId != '7'}"
>
<option
value=
"${channel.channelId}"
>
${channel.channelName}
</option>
</c:if>
</c:forEach>
</select></td>
</tr>
<tr><td>
业务(
<font
color=
"red"
>
必填
</font>
):
</td>
<td
>
<div
id=
"businesstd"
></div>
</td>
</tr>
<tr><td>
数据采集频率(
<font
color=
"red"
>
必填
</font>
):
</td>
<td><select
class=
"form-control"
name=
"calCycle"
id=
"calCycle"
style=
"display: inline;"
>
<option
value=
"30MI"
>
30分钟
</option>
<option
value=
"01HR"
>
1小时
</option>
<option
value=
"01DY"
>
1天
</option>
<option
value=
"01MO"
>
1月
</option>
</select>
</td></tr>
<tr><td>
指标(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
<div
id=
"kpitd"
></div>
</td>
</tr>
<tr><td>
指标监控时间(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
<input
type=
"text"
style=
"width:200px"
name=
"kpiMonitorTime"
id=
"kpiMonitorTime"
style=
"display: inline;"
/>
<select
style=
"width:200px"
name=
"kpiUnit"
id=
"kpiUnit"
style=
"display: inline;"
>
<option
value=
"0"
>
分钟
</option>
<option
value=
"1"
>
小时
</option>
<option
value=
"2"
>
天
</option>
<option
value=
"3"
>
月
</option>
</select></td>
</tr>
<tr><td>
指标采集时间(
<font
color=
"red"
>
必填
</font>
):
</td>
<td
id=
"businessTimetd"
>
<input
type=
'text'
class=
'form-control'
id=
'businessTime'
name=
'businessTime'
onfocus=
'WdatePicker({dateFmt:"yyyy-MM-dd HH:mm:00",readOnly:false,hmsMenuCfg : {H : [ 1, 6 ], m : [ 30, 2 ], s : [ 60, 0 ]}})'
/>
</td>
</tr>
<tr><td>
添加准确性规则:
</td>
<td><table
class=
"table table-hover table-striped"
id=
"displayParam"
>
<thead>
<tr><th>
规则类型
</th><th>
范围最大值
</th><th>
范围最小值
</th><th>
重复考核粒度
</th><th>
重复考核开始时间
</th><th>
重复考核结束时间
</th><th>
重复是否连续
</th><th>
重复最大次数
</th><th>
数据是否累计
</th><th><a
href=
"javascript:deleteAllTr()"
>
删除所有规则
</a></th></tr>
</thead>
<tbody
id=
"addTr"
></tbody>
</table></td></tr>
<tr><td>
准确性规则类型:
</td>
<td><select
class=
"form-control"
name=
"ruleType"
id=
"ruleType"
>
<option
value=
""
>
无
</option>
<option
value=
"1"
>
范围类
</option>
<option
value=
"2"
>
重复类
</option>
</select></td></tr>
<tr
class=
"range"
><td>
范围最大值:
</td><td><input
type=
"text"
class=
"form-control"
name=
"scopeMaxValue"
id=
"scopeMaxValue"
/></td></tr>
<tr
class=
"range"
><td>
范围最小值:
</td><td><input
type=
"text"
class=
"form-control"
name=
"scopeMinValue"
id=
"scopeMinValue"
/></td></tr>
<tr
class=
"repeate"
><td>
重复考核粒度:
</td>
<td><select
class=
"form-control"
name=
'repeatedCheckGranularity'
id=
'repeatedCheckGranularity'
>
<option
value=
"day"
selected
>
日
</option>
<option
value=
"mon"
>
天
</option>
</select>
</td></tr>
<tr
class=
"repeate"
><td>
重复考核开始时间:
</td><td><input
type=
"text"
class=
"form-control"
id=
"repeatedCheckStartTime"
name=
"repeatedCheckStartTime"
onfocus=
"WdatePicker({minDate:'#F{$dp.$D(\'repeatedCheckStartTime\')}'})"
/></td></tr>
<tr
class=
"repeate"
><td>
重复考核结束时间:
</td><td><input
id=
"repeatedCheckEndTime"
name=
"repeatedCheckEndTime"
class=
"form-control"
type=
"text"
onFocus=
"WdatePicker({maxDate:'#F{$dp.$D(\'repeatedCheckEndTime\')}'})"
></td></tr>
<tr
class=
"repeate"
><td>
重复是否连续:
</td>
<td><select
name=
'ifRepeatedCheckSeries'
id=
'ifRepeatedCheckSeries'
class=
"form-control"
>
<option
value=
"1"
selected
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
</td></tr>
<tr
class=
"repeate"
><td>
重复最大次数:
</td><td><input
type=
'text'
name=
'repeatedCheckMaxTime'
id=
'repeatedCheckMaxTime'
class=
"form-control"
style=
"display: inline;"
/></td></tr>
<tr
class=
"repeate"
><td>
数据是否累计:
</td>
<td><select
name=
'ifRepeatedCheckSummation'
id=
'ifRepeatedCheckSummation'
class=
"form-control"
>
<option
value=
"1"
selected
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
</td></tr>
<tr><td></td>
<td><button
type=
"button"
id=
"addParam"
class=
"btn btn-primary"
>
添加规则
</button></td></tr>
<tr><td></td><td><button
type=
"button"
id=
"ruleSubmit"
class=
"btn btn-primary"
>
确定
</button>
<button
type=
"reset"
class=
"btn btn-warning"
id=
"ruleBack"
>
返回
</button>
</td></tr>
</table>
</table>
</form>
<input
type=
"hidden"
id=
"kpi"
name=
"kpi"
value=
'${kpiList}'
/>
<input
type=
"hidden"
id=
"business"
name=
"business"
value=
'${businessList}'
/>
</div>
</div>
</div>
...
...
@@ -128,28 +171,388 @@
</div>
</div>
</div>
<script
type=
"text/javascript"
>
$
(
".range"
).
hide
();
$
(
".repeate"
).
hide
();
$
(
"#accuracyRule"
).
change
(
function
(){
var
selectValue
=
$
(
"#accuracyRule"
).
val
();
console
.
log
(
selectValue
);
if
(
selectValue
==
0
){
$
(
".range"
).
hide
();
$
(
".repeate"
).
hide
();
}
if
(
selectValue
==
1
){
$
(
".repeate"
).
hide
();
$
(
".range"
).
show
();
}
if
(
selectValue
==
2
){
$
(
".range"
).
hide
();
$
(
".repeate"
).
show
();
}
})
</script>
<script
type=
"text/javascript"
>
$
(
".range"
).
hide
();
$
(
".repeate"
).
hide
();
$
(
"#addParam"
).
hide
();
$
(
"#ruleType"
).
change
(
function
(){
var
selectValue
=
$
(
"#ruleType"
).
val
();
if
(
selectValue
==
""
){
$
(
".range"
).
hide
();
$
(
".repeate"
).
hide
();
$
(
"#addParam"
).
hide
();
}
if
(
selectValue
==
1
){
$
(
".repeate"
).
hide
();
$
(
".range"
).
show
();
$
(
"#addParam"
).
show
();
}
if
(
selectValue
==
2
){
$
(
".range"
).
hide
();
$
(
".repeate"
).
show
();
$
(
"#addParam"
).
show
();
}
});
//删除所有准确性规则
function
deleteAllTr
(){
$
(
"#addTr"
).
empty
();
}
//删除一条准确性规则
function
deleteRow
(
elementTag
){
$
(
elementTag
).
parent
().
parent
().
remove
();
}
//添加/修改准确性规则
$
(
"#addParam"
).
click
(
function
(){
var
ruleType
=
$
(
"#ruleType"
).
val
();
var
scopeMaxValue
=
$
.
trim
(
$
(
"#scopeMaxValue"
).
val
());
var
scopeMinValue
=
$
.
trim
(
$
(
"#scopeMinValue"
).
val
());
var
repeatedCheckGranularity
=
$
.
trim
(
$
(
"#repeatedCheckGranularity"
).
val
());
var
repeatedCheckStartTime
=
$
.
trim
(
$
(
"#repeatedCheckStartTime"
).
val
());
var
repeatedCheckEndTime
=
$
.
trim
(
$
(
"#repeatedCheckEndTime"
).
val
());
var
ifRepeatedCheckSeries
=
$
.
trim
(
$
(
"#ifRepeatedCheckSeries"
).
val
());
var
repeatedCheckMaxTime
=
$
.
trim
(
$
(
"#repeatedCheckMaxTime"
).
val
());
var
ifRepeatedCheckSummation
=
$
.
trim
(
$
(
"#ifRepeatedCheckSummation"
).
val
());
if
(
ruleType
==
"1"
||
ruleType
==
"2"
){
if
(
ruleType
==
"1"
){
if
(
scopeMaxValue
==
""
){
$
.
alert
(
"范围最大值不能为空"
);}
if
(
scopeMinValue
==
""
){
$
.
alert
(
"范围最小值不能为空"
);}
repeatedCheckGranularity
=
"无"
;
repeatedCheckStartTime
=
"无"
;
repeatedCheckEndTime
=
"无"
;
ifRepeatedCheckSeries
=
"无"
;
repeatedCheckMaxTime
=
"无"
;
ifRepeatedCheckSummation
=
"无"
;
}
else
if
(
ruleType
==
"2"
){
if
(
repeatedCheckGranularity
==
""
){
$
.
alert
(
"重复考核粒度不能为空"
);}
if
(
repeatedCheckStartTime
==
""
){
$
.
alert
(
"重复考核开始时间不能为空"
);}
if
(
repeatedCheckEndTime
==
""
){
$
.
alert
(
"重复考核结束时间不能为空"
);}
if
(
ifRepeatedCheckSeries
==
""
){
$
.
alert
(
"重复是否连续不能为空"
);}
if
(
repeatedCheckMaxTime
==
""
){
$
.
alert
(
"重复最大次数不能为空"
);}
if
(
ifRepeatedCheckSummation
==
""
){
$
.
alert
(
"数据是否累计不能为空"
);}
scopeMaxValue
=
"无"
;
scopeMinValue
=
"无"
;
}
if
(
$
(
"#addTr"
).
find
(
"tr.orange-tr"
).
html
()
==
null
){
var
addRow
=
$
(
"<tr><td>"
+
ruleType
+
"</td><td>"
+
scopeMaxValue
+
"</td><td>"
+
scopeMinValue
+
"</td><td>"
+
repeatedCheckGranularity
+
"</td><td>"
+
repeatedCheckStartTime
+
"</td><td>"
+
repeatedCheckEndTime
+
"</td><td>"
+
ifRepeatedCheckSeries
+
"</td><td>"
+
repeatedCheckMaxTime
+
"</td><td>"
+
ifRepeatedCheckSummation
+
"</td><td><a href='javascript:;' title='' onclick='deleteRow(this)'>删除</a></td></tr>"
);
$
(
"#addTr"
).
append
(
addRow
);
$
(
"#ruleType"
).
attr
(
"value"
,
""
);
$
(
"#scopeMaxValue"
).
attr
(
"value"
,
""
);
$
(
"#scopeMinValue"
).
attr
(
"value"
,
""
);
$
(
"#repeatedCheckGranularity"
).
attr
(
"value"
,
""
);
$
(
"#repeatedCheckStartTime"
).
attr
(
"value"
,
""
);
$
(
"#repeatedCheckEndTime"
).
attr
(
"value"
,
""
);
$
(
"#ifRepeatedCheckSeries"
).
attr
(
"value"
,
""
);
$
(
"#repeatedCheckMaxTime"
).
attr
(
"value"
,
""
);
$
(
"#ifRepeatedCheckSummation"
).
attr
(
"value"
,
""
);
}
else
{
var
findTr
=
$
(
"#addTr"
).
find
(
"tr.orange-tr"
);
$
(
findTr
).
find
(
"td"
).
eq
(
0
).
html
(
ruleType
);
$
(
findTr
).
find
(
"td"
).
eq
(
1
).
html
(
scopeMaxValue
);
$
(
findTr
).
find
(
"td"
).
eq
(
2
).
html
(
scopeMinValue
);
$
(
findTr
).
find
(
"td"
).
eq
(
3
).
html
(
repeatedCheckGranularity
);
$
(
findTr
).
find
(
"td"
).
eq
(
4
).
html
(
repeatedCheckStartTime
);
$
(
findTr
).
find
(
"td"
).
eq
(
5
).
html
(
repeatedCheckEndTime
);
$
(
findTr
).
find
(
"td"
).
eq
(
6
).
html
(
ifRepeatedCheckSeries
);
$
(
findTr
).
find
(
"td"
).
eq
(
7
).
html
(
repeatedCheckMaxTime
);
$
(
findTr
).
find
(
"td"
).
eq
(
8
).
html
(
ifRepeatedCheckSummation
);
$
(
"#addTr"
).
find
(
"tr"
).
removeClass
();
$
(
"#addParam"
).
text
(
"添加规则"
);
}
}
});
//form表单提交
$
(
"#ruleSubmit"
).
click
(
function
(){
if
(
$
.
trim
(
$
(
"#kpiMonitorTime"
).
val
())
==
""
){
$
.
alert
(
"指标监控时间不能为空"
);
}
else
if
(
$
(
"#businessTime"
).
val
()
==
""
){
$
.
alert
(
"指标业务时间不能为空"
);
}
else
if
(
$
(
"#ruleCrtTime"
).
val
()
==
""
){
$
.
alert
(
"规则创建时间不能为空"
);
}
else
if
(
$
(
"#ruleUpdateTime"
).
val
()
==
""
){
$
.
alert
(
"规则更新时间不能为空"
);
}
else
{
if
(
$
.
trim
(
$
(
"#ruleType"
).
val
())
==
"1"
||
$
.
trim
(
$
(
"#ruleType"
).
val
())
==
"2"
){
$
.
dialog
({
title
:
"提醒"
,
content
:
"有准确性规则参数尚未添加,确定提交"
,
ok
:
function
(){
$
(
"#ruleSubmit"
).
attr
(
"disabled"
,
true
);
var
i
=
$
(
"#addTr"
).
find
(
"tr"
).
size
();
if
(
i
==
0
){
var
createForm
=
$
(
"#ruleMaintainForm"
);
createForm
.
attr
(
"action"
,
"${ctx}/AnalysisSupport/QualityRuleMaintain/saveRuleDataForm"
);
createForm
.
submit
();
createForm
.
attr
(
"action"
,
"#"
);
}
else
{
$
(
"#addTr"
).
find
(
"tr"
).
each
(
function
(){
var
ruleType
=
$
(
this
).
find
(
"td"
).
eq
(
0
).
html
();
var
scopeMaxValue
=
$
(
this
).
find
(
"td"
).
eq
(
1
).
html
();
var
scopeMinValue
=
$
(
this
).
find
(
"td"
).
eq
(
2
).
html
();
var
repeatedCheckGranularity
=
$
(
this
).
find
(
"td"
).
eq
(
3
).
html
();
var
repeatedCheckStartTime
=
$
(
this
).
find
(
"td"
).
eq
(
4
).
html
();
var
repeatedCheckEndTime
=
$
(
this
).
find
(
"td"
).
eq
(
5
).
html
();
var
ifRepeatedCheckSeries
=
$
(
this
).
find
(
"td"
).
eq
(
6
).
html
();
var
repeatedCheckMaxTime
=
$
(
this
).
find
(
"td"
).
eq
(
7
).
html
();
var
ifRepeatedCheckSummation
=
$
(
this
).
find
(
"td"
).
eq
(
8
).
html
();
if
(
scopeMaxValue
==
"无"
){
scopeMaxValue
=
""
;}
if
(
scopeMinValue
==
"无"
){
scopeMinValue
=
""
;}
if
(
repeatedCheckGranularity
==
"无"
){
repeatedCheckGranularity
=
""
;}
if
(
repeatedCheckStartTime
==
"无"
){
repeatedCheckStartTime
=
""
;}
if
(
repeatedCheckEndTime
=
"无"
){
repeatedCheckEndTime
=
""
;}
if
(
ifRepeatedCheckSeries
==
"无"
){
ifRepeatedCheckSeries
=
""
;}
if
(
repeatedCheckMaxTime
==
"无"
){
repeatedCheckMaxTime
=
""
;}
if
(
ifRepeatedCheckSummation
==
"无"
){
ifRepeatedCheckSummation
=
""
;}
$
.
ajax
({
type
:
"GET"
,
contentType
:
"application/json"
,
url
:
"${ctx}/AnalysisSupport/QualityRuleMaintain/createAccuracyRule?ruleType="
+
ruleType
+
"&scopeMaxValue="
+
scopeMaxValue
+
"&scopeMinValue="
+
scopeMinValue
+
"&repeatedCheckGranularity="
+
repeatedCheckGranularity
+
"&repeatedCheckStartTime="
+
repeatedCheckStartTime
+
"&repeatedCheckEndTime="
+
repeatedCheckEndTime
+
"&scopeMinValue="
+
ifRepeatedCheckSeries
+
"&ifRepeatedCheckSeries="
+
repeatedCheckMaxTime
+
"&repeatedCheckMaxTime="
+
ifRepeatedCheckSummation
+
"&ifRepeatedCheckSummation="
,
dataType
:
"text"
,
async
:
false
,
beforeSend
:
function
(
data
)
{},
success
:
function
(){
i
--
;
if
(
i
==
0
){
var
createForm
=
$
(
"#ruleMaintainForm"
);
createForm
.
attr
(
"action"
,
"${ctx}/AnalysisSupport/QualityRuleMaintain/saveRuleDataForm"
);
createForm
.
submit
();
createForm
.
attr
(
"action"
,
"#"
);
}
}
});
});
}
},
okValue
:
"确定"
,
cancel
:
function
(){},
cancelValue
:
"取消"
,
});
}
else
{
$
(
"#ruleSubmit"
).
attr
(
"disabled"
,
true
);
var
i
=
$
(
"#addTr"
).
find
(
"tr"
).
size
();
if
(
i
==
0
){
var
createForm
=
$
(
"#ruleMaintainForm"
);
createForm
.
attr
(
"action"
,
"${ctx}/AnalysisSupport/QualityRuleMaintain/saveRuleDataForm"
);
createForm
.
submit
();
createForm
.
attr
(
"action"
,
"#"
);
}
else
{
$
(
"#addTr"
).
find
(
"tr"
).
each
(
function
(){
var
ruleType
=
$
(
this
).
find
(
"td"
).
eq
(
0
).
html
();
var
scopeMaxValue
=
$
(
this
).
find
(
"td"
).
eq
(
1
).
html
();
var
scopeMinValue
=
$
(
this
).
find
(
"td"
).
eq
(
2
).
html
();
var
repeatedCheckGranularity
=
$
(
this
).
find
(
"td"
).
eq
(
3
).
html
();
var
repeatedCheckStartTime
=
$
(
this
).
find
(
"td"
).
eq
(
4
).
html
();
var
repeatedCheckEndTime
=
$
(
this
).
find
(
"td"
).
eq
(
5
).
html
();
var
ifRepeatedCheckSeries
=
$
(
this
).
find
(
"td"
).
eq
(
6
).
html
();
var
repeatedCheckMaxTime
=
$
(
this
).
find
(
"td"
).
eq
(
7
).
html
();
var
ifRepeatedCheckSummation
=
$
(
this
).
find
(
"td"
).
eq
(
8
).
html
();
if
(
scopeMaxValue
==
"无"
){
scopeMaxValue
=
""
;}
if
(
scopeMinValue
==
"无"
){
scopeMinValue
=
""
;}
if
(
repeatedCheckGranularity
==
"无"
){
repeatedCheckGranularity
=
""
;}
if
(
repeatedCheckStartTime
==
"无"
){
repeatedCheckStartTime
=
""
;}
if
(
repeatedCheckEndTime
=
"无"
){
repeatedCheckEndTime
=
""
;}
if
(
ifRepeatedCheckSeries
==
"无"
){
ifRepeatedCheckSeries
=
""
;}
if
(
repeatedCheckMaxTime
==
"无"
){
repeatedCheckMaxTime
=
""
;}
if
(
ifRepeatedCheckSummation
==
"无"
){
ifRepeatedCheckSummation
=
""
;}
$
.
ajax
({
type
:
"GET"
,
contentType
:
"application/json"
,
url
:
"${ctx}/AnalysisSupport/QualityRuleMaintain/createAccuracyRule?ruleType="
+
ruleType
+
"&scopeMaxValue="
+
scopeMaxValue
+
"&scopeMinValue="
+
scopeMinValue
+
"&repeatedCheckGranularity="
+
encodeURIComponent
(
repeatedCheckGranularity
)
+
"&repeatedCheckStartTime="
+
encodeURIComponent
(
repeatedCheckStartTime
)
+
"&repeatedCheckEndTime="
+
encodeURIComponent
(
repeatedCheckEndTime
)
+
"&ifRepeatedCheckSeries="
+
ifRepeatedCheckSeries
+
"&repeatedCheckMaxTime="
+
repeatedCheckMaxTime
+
"&ifRepeatedCheckSummation="
+
ifRepeatedCheckSummation
,
dataType
:
"text"
,
async
:
false
,
beforeSend
:
function
(
data
)
{},
success
:
function
(){
i
--
;
if
(
i
==
0
){
var
createForm
=
$
(
"#ruleMaintainForm"
);
createForm
.
attr
(
"action"
,
"${ctx}/AnalysisSupport/QualityRuleMaintain/saveRuleDataForm"
);
createForm
.
submit
();
createForm
.
attr
(
"action"
,
"#"
);
}
}
});
});
}
}
}
});
$
(
"#ruleBack"
).
click
(
function
(){
location
.
href
=
"${ctx}/AnalysisSupport/QualityRuleResult"
;
});
function
getProvinceCheckedValues
()
{
var
provinceArray
=
new
Array
();
var
i
=
0
;
$
(
"#province:checked"
).
each
(
function
(){
provinceArray
[
i
]
=
$
(
this
).
val
();
i
++
;
});
return
provinceArray
;
}
function
getProvinceCheckedValuesString
(){
var
provinceStr
=
""
;
var
provinceArray
=
getProvinceCheckedValues
();
for
(
var
i
=
0
;
i
<
provinceArray
.
length
;
i
++
){
if
(
i
==
provinceArray
.
length
-
1
){
provinceStr
+=
provinceArray
[
i
];
}
else
{
provinceStr
+=
provinceArray
[
i
]
+
","
;
}
}
return
provinceStr
;
}
var
dataSourceValue
=
$
(
"#dataSource"
).
val
();
var
channelValue
=
$
(
"#channel"
).
val
();
var
businessIds
=
getBusinessCheckedValues
();
var
calCycleValue
=
$
(
"#calCycle"
).
val
();
$
(
"#dataSource"
).
change
(
function
(){
dataSourceValue
=
$
(
"#dataSource"
).
val
();
updateBusiness
(
dataSourceValue
,
channelValue
);
});
$
(
"#channel"
).
change
(
function
(){
channelValue
=
$
(
"#channel"
).
val
();
updateBusiness
(
dataSourceValue
,
channelValue
);
});
function
updateKpi
(
businessIds
,
calCycleValue
){
$
.
ajax
({
type
:
"GET"
,
contentType
:
"application/json"
,
url
:
"${ctx}/AnalysisSupport/QualityRuleMaintain/findKpiId?businessIds="
+
businessIds
+
"&calCycleValue="
+
calCycleValue
,
async
:
false
,
beforeSend
:
function
(
data
)
{},
success
:
function
(
data
){
var
td
=
$
(
"#kpitd"
);
td
.
empty
();
data
=
JSON
.
parse
(
data
)
data
.
forEach
(
function
(
t
){
td
.
append
(
"<input type='checkbox' name='kpiinput' class='kpiItem' value='"
+
t
[
0
]
+
"' checked >"
+
t
[
1
]
+
"</input>"
)
});
}
});
}
function
updateBusiness
(
dataSource
,
channel
){
$
.
ajax
({
type
:
"GET"
,
contentType
:
"application/json"
,
url
:
"${ctx}/AnalysisSupport/QualityRuleMaintain/findBusinessId?dataSource="
+
dataSource
+
"&channel="
+
channel
,
async
:
false
,
beforeSend
:
function
(
data
)
{},
success
:
function
(
data
){
var
td
=
$
(
"#businesstd"
);
var
businessIds
=
new
Array
();
td
.
empty
();
data
=
JSON
.
parse
(
data
)
data
.
forEach
(
function
(
t
){
td
.
append
(
"<input type='checkbox' name='businessinput' class='businessItem' value='"
+
t
[
0
]
+
"' checked >"
+
t
[
1
]
+
"</input>"
)
businessIds
+=
t
[
0
]
+
","
;
});
updateKpi
(
businessIds
,
calCycleValue
);
}
});
$
(
".businessItem"
).
click
(
function
(){
businessIds
=
""
;
$
(
"[name='businessinput']:checked"
).
each
(
function
(){
businessIds
+=
$
(
this
).
val
()
+
","
;
});
updateKpi
(
businessIds
,
calCycleValue
);
});
}
$
(
"#calCycle"
).
change
(
function
()
{
calCycleValue
=
$
(
"#calCycle"
).
val
();
$
(
"[name='businessinput']:checked"
).
each
(
function
(){
businessIds
+=
$
(
this
).
val
()
+
","
;
});
updateKpi
(
businessIds
,
calCycleValue
)
updateBusinessTime
(
calCycleValue
)
});
updateBusiness
(
$
(
"#dataSource"
).
val
(),
$
(
"#channel"
).
val
());
function
updateBusinessTime
(
calCycleValue
)
{
$
(
"#businessTimetd"
).
empty
()
if
(
calCycleValue
==
"30MI"
){
$
(
"#businessTimetd"
).
append
(
"<input type='text' class='form-control' id='businessTime' name='businessTime' onfocus='WdatePicker({dateFmt:
\"
yyyy-MM-dd HH:mm:00
\"
,readOnly:false,hmsMenuCfg : {H : [ 1, 6 ], m : [ 30, 2 ], s : [ 60, 0 ]}})'/>"
);
}
else
if
(
calCycleValue
==
"01HR"
){
$
(
"#businessTimetd"
).
append
(
"<input type='text' class='form-control' id='businessTime' name='businessTime' onfocus='WdatePicker({dateFmt:
\"
yyyy-MM-dd HH:00:00
\"
,readOnly:false,hmsMenuCfg : {H : [ 1, 6 ], m : [ 30, 2 ], s : [ 60, 0 ]}})'/>"
);
}
else
if
(
calCycleValue
==
"01DY"
){
$
(
"#businessTimetd"
).
append
(
"<input type='text' class='form-control' id='businessTime' name='businessTime' onfocus='WdatePicker({dateFmt:
\"
yyyy-MM-dd 00:00:00
\"
,readOnly:false,hmsMenuCfg : {H : [ 24, 0 ], m : [ 60, 0 ], s : [ 60, 0 ]}})'/>"
);
}
else
if
(
calCycleValue
==
"01MO"
){
$
(
"#businessTimetd"
).
append
(
"<input type='text' class='form-control' id='businessTime' name='businessTime' onfocus='WdatePicker({dateFmt:
\"
yyyy-MM-01 00:00:00
\"
,readOnly:false,hmsMenuCfg : {H : [ 24, 0 ], m : [ 60, 0 ], s : [ 60, 0 ]}})' />"
);
}
}
function
getBusinessCheckedValues
(){
var
businessArray
=
new
Array
();
var
i
=
0
;
$
(
"[name='businessinput']:checked"
).
each
(
function
(){
businessArray
[
i
]
=
$
(
this
).
val
();
i
++
;
});
return
businessArray
;
}
function
getBusinessCheckedValuesString
(){
var
businessStr
=
""
;
var
businessArray
=
getBusinessCheckedValues
();
for
(
var
i
=
0
;
i
<
businessArray
.
length
;
i
++
){
if
(
i
==
businessArray
.
length
-
1
){
businessStr
+=
businessArray
[
i
];
}
else
{
businessStr
+=
businessArray
[
i
]
+
","
;
}
}
return
businessStr
;
}
function
getKpiCheckedValues
(){
var
kpiArray
=
new
Array
();
var
i
=
0
;
$
(
"[name='kpiinput']:checked"
).
each
(
function
(){
kpiArray
[
i
]
=
$
(
this
).
val
();
i
++
;
});
return
kpiArray
;
}
function
getKpiCheckedValuesString
(){
var
kpiStr
=
""
;
var
kpiArray
=
getKpiCheckedValues
();
for
(
var
i
=
0
;
i
<
kpiArray
.
length
;
i
++
){
if
(
i
==
kpiArray
.
length
-
1
){
kpiStr
+=
kpiArray
[
i
];
}
else
{
kpiStr
+=
kpiArray
[
i
]
+
","
;
}
}
return
kpiStr
;
}
var
provinceValue
=
getProvinceCheckedValuesString
();
var
businessValue
=
getBusinessCheckedValuesString
();
var
kpiValue
=
getKpiCheckedValuesString
();
console
.
log
(
"provinceValue:"
+
provinceValue
+
"businessValue:"
+
businessValue
+
"kpiValue:"
+
kpiValue
)
</script>
</body>
</html>
\ No newline at end of file
src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleMaintain.jsp
View file @
29444a6f
...
...
@@ -6,7 +6,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
质量规则维护
</title>
<title>
数据
质量规则维护
</title>
<style>
.table-null
.table
{
margin-bottom
:
0px
;
...
...
@@ -31,7 +31,7 @@
<ol
class=
"breadcrumb"
>
<li><a
href=
"${ctx}/index"
>
首页
</a></li>
<li>
数据质量核查
</li>
<li
class=
"active"
>
质量规则维护
</li>
<li
class=
"active"
>
数据
质量规则维护
</li>
</ol>
</div>
<div
id=
"main-container main-tab-container"
>
...
...
@@ -42,8 +42,8 @@
<div
class=
"tab-pane fade in active"
id=
"home"
>
<div
class=
"row"
>
<div
class=
"col-xs-12"
>
<div
class=
"table-header"
>
质量规则上传
</div>
<form
action=
"#"
class=
"form-horizontal"
id=
"ruleMaintainForm"
method=
"post"
enctype=
"multipart/form-data"
>
<div
class=
"table-header"
>
数据
质量规则上传
</div>
<form
action=
"#"
class=
"form-horizontal"
id=
"ruleMaintainForm"
method=
"post"
>
<table
id=
"ruleMaintainTable"
class=
"table-null"
>
<tr><td>
省份(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
...
...
@@ -100,7 +100,7 @@
<tr><td>
指标监控时间(
<font
color=
"red"
>
必填
</font>
):
</td>
<td>
<input
type=
"text"
style=
"width:200px"
name=
"kpiMonitorTime"
id=
"kpiMonitorTime"
style=
"display: inline;"
/>
<select
style=
"width:200px"
name=
"kpiUnit"
id=
"kpiUnit"
style=
"display: inline;
"
>
<select
name=
"kpiUnit"
id=
"kpiUnit
"
>
<option
value=
"0"
>
分钟
</option>
<option
value=
"1"
>
小时
</option>
<option
value=
"2"
>
天
</option>
...
...
@@ -127,12 +127,27 @@
</select></td></tr>
<tr
class=
"range"
><td>
范围最大值:
</td><td><input
type=
"text"
class=
"form-control"
name=
"scopeMaxValue"
id=
"scopeMaxValue"
/></td></tr>
<tr
class=
"range"
><td>
范围最小值:
</td><td><input
type=
"text"
class=
"form-control"
name=
"scopeMinValue"
id=
"scopeMinValue"
/></td></tr>
<tr
class=
"repeate"
><td>
重复考核粒度:
</td><td><input
type=
'text'
name=
'repeatedCheckGranularity'
id=
'repeatedCheckGranularity'
class=
"form-control"
style=
"display: inline;"
/></td></tr>
<tr
class=
"repeate"
><td>
重复考核粒度:
</td>
<td><select
class=
"form-control"
name=
'repeatedCheckGranularity'
id=
'repeatedCheckGranularity'
>
<option
value=
"day"
selected
>
日
</option>
<option
value=
"mon"
>
天
</option>
</select>
</td></tr>
<tr
class=
"repeate"
><td>
重复考核开始时间:
</td><td><input
type=
"text"
class=
"form-control"
id=
"repeatedCheckStartTime"
name=
"repeatedCheckStartTime"
onfocus=
"WdatePicker({minDate:'#F{$dp.$D(\'repeatedCheckStartTime\')}'})"
/></td></tr>
<tr
class=
"repeate"
><td>
重复考核结束时间:
</td><td><input
id=
"repeatedCheckEndTime"
name=
"repeatedCheckEndTime"
class=
"form-control"
type=
"text"
onFocus=
"WdatePicker({maxDate:'#F{$dp.$D(\'repeatedCheckEndTime\')}'})"
></td></tr>
<tr
class=
"repeate"
><td>
重复是否连续:
</td><td><input
type=
'text'
name=
'ifRepeatedCheckSeries'
id=
'ifRepeatedCheckSeries'
class=
"form-control"
style=
"display: inline;"
/></td></tr>
<tr
class=
"repeate"
><td>
重复是否连续:
</td>
<td><select
name=
'ifRepeatedCheckSeries'
id=
'ifRepeatedCheckSeries'
class=
"form-control"
>
<option
value=
"1"
selected
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
</td></tr>
<tr
class=
"repeate"
><td>
重复最大次数:
</td><td><input
type=
'text'
name=
'repeatedCheckMaxTime'
id=
'repeatedCheckMaxTime'
class=
"form-control"
style=
"display: inline;"
/></td></tr>
<tr
class=
"repeate"
><td>
数据是否累计:
</td><td><input
type=
'text'
name=
'ifRepeatedCheckSummation'
id=
'ifRepeatedCheckSummation'
class=
"form-control"
style=
"display: inline;"
/></td></tr>
<tr
class=
"repeate"
><td>
数据是否累计:
</td>
<td><select
name=
'ifRepeatedCheckSummation'
id=
'ifRepeatedCheckSummation'
class=
"form-control"
>
<option
value=
"1"
selected
>
是
</option>
<option
value=
"0"
>
否
</option>
</select>
</td></tr>
<tr><td></td>
<td><button
type=
"button"
id=
"addParam"
class=
"btn btn-primary"
>
添加规则
</button></td></tr>
<tr><td></td><td><button
type=
"button"
id=
"ruleSubmit"
class=
"btn btn-primary"
>
确定
</button>
...
...
@@ -171,8 +186,79 @@ $("#ruleType").change(function (){
$
(
".repeate"
).
show
();
$
(
"#addParam"
).
show
();
}
})
});
//删除所有准确性规则
function
deleteAllTr
(){
$
(
"#addTr"
).
empty
();
}
//删除一条准确性规则
function
deleteRow
(
elementTag
){
$
(
elementTag
).
parent
().
parent
().
remove
();
}
//添加/修改准确性规则
$
(
"#addParam"
).
click
(
function
(){
var
ruleType
=
$
(
"#ruleType"
).
val
();
var
scopeMaxValue
=
$
.
trim
(
$
(
"#scopeMaxValue"
).
val
());
var
scopeMinValue
=
$
.
trim
(
$
(
"#scopeMinValue"
).
val
());
var
repeatedCheckGranularity
=
$
.
trim
(
$
(
"#repeatedCheckGranularity"
).
val
());
var
repeatedCheckStartTime
=
$
.
trim
(
$
(
"#repeatedCheckStartTime"
).
val
());
var
repeatedCheckEndTime
=
$
.
trim
(
$
(
"#repeatedCheckEndTime"
).
val
());
var
ifRepeatedCheckSeries
=
$
.
trim
(
$
(
"#ifRepeatedCheckSeries"
).
val
());
var
repeatedCheckMaxTime
=
$
.
trim
(
$
(
"#repeatedCheckMaxTime"
).
val
());
var
ifRepeatedCheckSummation
=
$
.
trim
(
$
(
"#ifRepeatedCheckSummation"
).
val
());
if
(
ruleType
==
"1"
||
ruleType
==
"2"
){
if
(
ruleType
==
"1"
){
if
(
scopeMaxValue
==
""
){
$
.
alert
(
"范围最大值不能为空"
);}
if
(
scopeMinValue
==
""
){
$
.
alert
(
"范围最小值不能为空"
);}
repeatedCheckGranularity
=
"无"
;
repeatedCheckStartTime
=
"无"
;
repeatedCheckEndTime
=
"无"
;
ifRepeatedCheckSeries
=
"无"
;
repeatedCheckMaxTime
=
"无"
;
ifRepeatedCheckSummation
=
"无"
;
}
else
if
(
ruleType
==
"2"
){
if
(
repeatedCheckGranularity
==
""
){
$
.
alert
(
"重复考核粒度不能为空"
);}
if
(
repeatedCheckStartTime
==
""
){
$
.
alert
(
"重复考核开始时间不能为空"
);}
if
(
repeatedCheckEndTime
==
""
){
$
.
alert
(
"重复考核结束时间不能为空"
);}
if
(
ifRepeatedCheckSeries
==
""
){
$
.
alert
(
"重复是否连续不能为空"
);}
if
(
repeatedCheckMaxTime
==
""
){
$
.
alert
(
"重复最大次数不能为空"
);}
if
(
ifRepeatedCheckSummation
==
""
){
$
.
alert
(
"数据是否累计不能为空"
);}
scopeMaxValue
=
"无"
;
scopeMinValue
=
"无"
;
}
if
(
$
(
"#addTr"
).
find
(
"tr.orange-tr"
).
html
()
==
null
){
var
addRow
=
$
(
"<tr><td>"
+
ruleType
+
"</td><td>"
+
scopeMaxValue
+
"</td><td>"
+
scopeMinValue
+
"</td><td>"
+
repeatedCheckGranularity
+
"</td><td>"
+
repeatedCheckStartTime
+
"</td><td>"
+
repeatedCheckEndTime
+
"</td><td>"
+
ifRepeatedCheckSeries
+
"</td><td>"
+
repeatedCheckMaxTime
+
"</td><td>"
+
ifRepeatedCheckSummation
+
"</td><td><a href='javascript:;' title='' onclick='deleteRow(this)'>删除</a></td></tr>"
);
$
(
"#addTr"
).
append
(
addRow
);
$
(
"#ruleType"
).
attr
(
"value"
,
""
);
$
(
"#scopeMaxValue"
).
attr
(
"value"
,
""
);
$
(
"#scopeMinValue"
).
attr
(
"value"
,
""
);
$
(
"#repeatedCheckGranularity"
).
attr
(
"value"
,
""
);
$
(
"#repeatedCheckStartTime"
).
attr
(
"value"
,
""
);
$
(
"#repeatedCheckEndTime"
).
attr
(
"value"
,
""
);
$
(
"#ifRepeatedCheckSeries"
).
attr
(
"value"
,
""
);
$
(
"#repeatedCheckMaxTime"
).
attr
(
"value"
,
""
);
$
(
"#ifRepeatedCheckSummation"
).
attr
(
"value"
,
""
);
}
else
{
var
findTr
=
$
(
"#addTr"
).
find
(
"tr.orange-tr"
);
$
(
findTr
).
find
(
"td"
).
eq
(
0
).
html
(
ruleType
);
$
(
findTr
).
find
(
"td"
).
eq
(
1
).
html
(
scopeMaxValue
);
$
(
findTr
).
find
(
"td"
).
eq
(
2
).
html
(
scopeMinValue
);
$
(
findTr
).
find
(
"td"
).
eq
(
3
).
html
(
repeatedCheckGranularity
);
$
(
findTr
).
find
(
"td"
).
eq
(
4
).
html
(
repeatedCheckStartTime
);
$
(
findTr
).
find
(
"td"
).
eq
(
5
).
html
(
repeatedCheckEndTime
);
$
(
findTr
).
find
(
"td"
).
eq
(
6
).
html
(
ifRepeatedCheckSeries
);
$
(
findTr
).
find
(
"td"
).
eq
(
7
).
html
(
repeatedCheckMaxTime
);
$
(
findTr
).
find
(
"td"
).
eq
(
8
).
html
(
ifRepeatedCheckSummation
);
$
(
"#addTr"
).
find
(
"tr"
).
removeClass
();
$
(
"#addParam"
).
text
(
"添加规则"
);
}
}
});
//form表单提交
$
(
"#ruleSubmit"
).
click
(
function
(){
if
(
$
.
trim
(
$
(
"#kpiMonitorTime"
).
val
())
==
""
){
...
...
@@ -184,7 +270,7 @@ $("#ruleType").change(function (){
}
else
if
(
$
(
"#ruleUpdateTime"
).
val
()
==
""
){
$
.
alert
(
"规则更新时间不能为空"
);
}
else
{
if
(
$
.
trim
(
$
(
"#ruleType"
).
val
())
!=
"
"
){
if
(
$
.
trim
(
$
(
"#ruleType"
).
val
())
==
"1"
||
$
.
trim
(
$
(
"#ruleType"
).
val
())
==
"2
"
){
$
.
dialog
({
title
:
"提醒"
,
content
:
"有准确性规则参数尚未添加,确定提交"
,
...
...
@@ -209,6 +295,14 @@ $("#ruleType").change(function (){
var
ifRepeatedCheckSeries
=
$
(
this
).
find
(
"td"
).
eq
(
6
).
html
();
var
repeatedCheckMaxTime
=
$
(
this
).
find
(
"td"
).
eq
(
7
).
html
();
var
ifRepeatedCheckSummation
=
$
(
this
).
find
(
"td"
).
eq
(
8
).
html
();
if
(
scopeMaxValue
==
"无"
){
scopeMaxValue
=
""
;}
if
(
scopeMinValue
==
"无"
){
scopeMinValue
=
""
;}
if
(
repeatedCheckGranularity
==
"无"
){
repeatedCheckGranularity
=
""
;}
if
(
repeatedCheckStartTime
==
"无"
){
repeatedCheckStartTime
=
""
;}
if
(
repeatedCheckEndTime
=
"无"
){
repeatedCheckEndTime
=
""
;}
if
(
ifRepeatedCheckSeries
==
"无"
){
ifRepeatedCheckSeries
=
""
;}
if
(
repeatedCheckMaxTime
==
"无"
){
repeatedCheckMaxTime
=
""
;}
if
(
ifRepeatedCheckSummation
==
"无"
){
ifRepeatedCheckSummation
=
""
;}
$
.
ajax
({
type
:
"GET"
,
contentType
:
"application/json"
,
...
...
@@ -253,10 +347,18 @@ $("#ruleType").change(function (){
var
ifRepeatedCheckSeries
=
$
(
this
).
find
(
"td"
).
eq
(
6
).
html
();
var
repeatedCheckMaxTime
=
$
(
this
).
find
(
"td"
).
eq
(
7
).
html
();
var
ifRepeatedCheckSummation
=
$
(
this
).
find
(
"td"
).
eq
(
8
).
html
();
if
(
scopeMaxValue
==
"无"
){
scopeMaxValue
=
""
;}
if
(
scopeMinValue
==
"无"
){
scopeMinValue
=
""
;}
if
(
repeatedCheckGranularity
==
"无"
){
repeatedCheckGranularity
=
""
;}
if
(
repeatedCheckStartTime
==
"无"
){
repeatedCheckStartTime
=
""
;}
if
(
repeatedCheckEndTime
=
"无"
){
repeatedCheckEndTime
=
""
;}
if
(
ifRepeatedCheckSeries
==
"无"
){
ifRepeatedCheckSeries
=
""
;}
if
(
repeatedCheckMaxTime
==
"无"
){
repeatedCheckMaxTime
=
""
;}
if
(
ifRepeatedCheckSummation
==
"无"
){
ifRepeatedCheckSummation
=
""
;}
$
.
ajax
({
type
:
"GET"
,
contentType
:
"application/json"
,
url
:
"${ctx}/AnalysisSupport/QualityRuleMaintain/createAccuracyRule?ruleType="
+
ruleType
+
"&scopeMaxValue="
+
scopeMaxValue
+
"&scopeMinValue="
+
scopeMinValue
+
"&repeatedCheckGranularity="
+
repeatedCheckGranularity
+
"&repeatedCheckStartTime="
+
repeatedCheckStartTime
+
"&repeatedCheckEndTime="
+
repeatedCheckEndTime
+
"&scopeMinValue="
+
ifRepeatedCheckSeries
+
"&ifRepeatedCheckSeries="
+
repeatedCheckMaxTime
+
"&repeatedCheckMaxTime="
+
ifRepeatedCheckSummation
+
"&ifRepeatedCheckSummation="
,
url
:
"${ctx}/AnalysisSupport/QualityRuleMaintain/createAccuracyRule?ruleType="
+
ruleType
+
"&scopeMaxValue="
+
scopeMaxValue
+
"&scopeMinValue="
+
scopeMinValue
+
"&repeatedCheckGranularity="
+
encodeURIComponent
(
repeatedCheckGranularity
)
+
"&repeatedCheckStartTime="
+
encodeURIComponent
(
repeatedCheckStartTime
)
+
"&repeatedCheckEndTime="
+
encodeURIComponent
(
repeatedCheckEndTime
)
+
"&ifRepeatedCheckSeries="
+
ifRepeatedCheckSeries
+
"&repeatedCheckMaxTime="
+
repeatedCheckMaxTime
+
"&ifRepeatedCheckSummation="
+
ifRepeatedCheckSummation
,
dataType
:
"text"
,
async
:
false
,
beforeSend
:
function
(
data
)
{},
...
...
@@ -382,7 +484,7 @@ updateBusiness($("#dataSource").val(),$("#channel").val());
function
updateBusinessTime
(
calCycleValue
)
{
$
(
"#businessTimetd"
).
empty
()
if
(
calCycleValue
==
"30MI"
){
$
(
"#businessTimetd"
).
append
(
"<input type='text' class='form-control' id='businessTime' name='businessTime' onfocus='WdatePicker({dateFmt:
\"
yyyy-MM-dd HH:mm:00
\"
,readOnly:false,hmsMenuCfg : {H : [ 1, 6 ], m : [ 30, 2 ], s : [ 60, 0 ]}})'/>"
);
$
(
"#businessTimetd"
).
append
(
"<input type='text' class='form-control' id='businessTime' name='businessTime' onfocus='WdatePicker({dateFmt:
\"
yyyy-MM-dd HH:mm:00
\"
,readOnly:false,hmsMenuCfg : {H : [ 1, 6 ], m : [ 30, 2 ], s : [ 60, 0 ]}
,'minDate:HH:00:00','maxDate:HH:30:00'
})'/>"
);
}
else
if
(
calCycleValue
==
"01HR"
){
$
(
"#businessTimetd"
).
append
(
"<input type='text' class='form-control' id='businessTime' name='businessTime' onfocus='WdatePicker({dateFmt:
\"
yyyy-MM-dd HH:00:00
\"
,readOnly:false,hmsMenuCfg : {H : [ 1, 6 ], m : [ 30, 2 ], s : [ 60, 0 ]}})'/>"
);
}
else
if
(
calCycleValue
==
"01DY"
){
...
...
@@ -441,7 +543,6 @@ function getKpiCheckedValuesString(){
var
provinceValue
=
getProvinceCheckedValuesString
();
var
businessValue
=
getBusinessCheckedValuesString
();
var
kpiValue
=
getKpiCheckedValuesString
();
console
.
log
(
"provinceValue:"
+
provinceValue
+
"businessValue:"
+
businessValue
+
"kpiValue:"
+
kpiValue
)
</script>
...
...
src/main/webapp/WEB-INF/views/AnalysisSupport/QualityRuleOperation.jsp
View file @
29444a6f
...
...
@@ -102,7 +102,7 @@
ruleOperationDetailTable
();
function
operResultSubmit
(){
var
period
=
getPeriodStr
()
;
var
period
=
getPeriodStr
()
var
dataSource
=
getStatsDataSourceCheckedValuesString
();
var
chnnal
=
getStatsChannelCheckedValuesString
();
var
bussines
=
getStatsBusinessCheckedValuesString
();
...
...
@@ -142,7 +142,7 @@
$
.
ajax
({
type
:
'GET'
,
contentType
:
'application/json'
,
url
:
"${ctx}/AnalysisSupport/QualityRuleOperation/
c
hangeTable?period="
+
period
+
"&province="
+
province
+
"&dataSource="
+
dataSource
+
"&chnnal="
+
chnnal
+
"&bussines="
+
bussines
+
"&ifFilter="
+
ifFilter
,
url
:
"${ctx}/AnalysisSupport/QualityRuleOperation/
operationC
hangeTable?period="
+
period
+
"&province="
+
province
+
"&dataSource="
+
dataSource
+
"&chnnal="
+
chnnal
+
"&bussines="
+
bussines
+
"&ifFilter="
+
ifFilter
,
dataType
:
'text'
,
async
:
false
,
beforeSend
:
function
(
data
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment