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
c96dd352
Commit
c96dd352
authored
Dec 10, 2017
by
胡斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
智能分析平台备份
parent
e74ff109
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
11 deletions
+11
-11
workspace.xml
.idea/workspace.xml
+0
-0
CmszMonitorAnalysis.war
CmszMonitorAnalysis.war
+0
-0
QualityRuleReportController.java
...cmsz/web/analysissupport/QualityRuleReportController.java
+3
-4
RuleOperationTable.jsp
...bapp/WEB-INF/views/AnalysisSupport/RuleOperationTable.jsp
+5
-5
ruleReportDetailTable.js
src/main/webapp/static/js/ruleReportDetailTable.js
+3
-2
No files found.
.idea/workspace.xml
View file @
c96dd352
This diff is collapsed.
Click to expand it.
CmszMonitorAnalysis.war
View file @
c96dd352
No preview for this file type
src/main/java/com/hp/cmsz/web/analysissupport/QualityRuleReportController.java
View file @
c96dd352
...
@@ -165,12 +165,11 @@ public class QualityRuleReportController {
...
@@ -165,12 +165,11 @@ public class QualityRuleReportController {
@RequestParam
(
value
=
"reportSumStartTime"
)
String
reportSumStartTime
,
@RequestParam
(
value
=
"reportSumStartTime"
)
String
reportSumStartTime
,
@RequestParam
(
value
=
"reportSumEndTime"
)
String
reportSumEndTime
,
@RequestParam
(
value
=
"reportSumEndTime"
)
String
reportSumEndTime
,
HttpServletResponse
response
)
throws
ParseException
{
HttpServletResponse
response
)
throws
ParseException
{
SimpleDateFormat
sd
=
new
SimpleDateFormat
(
"yyyy-MM-dd hh:mm:ss"
);
SimpleDateFormat
sdf
=
new
SimpleDateFormat
(
"MMM d, yyyy K:m:s a"
,
Locale
.
ENGLISH
);
Long
province
=
Long
.
parseLong
(
provinceId
);
Long
province
=
Long
.
parseLong
(
provinceId
);
Long
kpi
=
Long
.
parseLong
(
kpiId
);
Long
kpi
=
Long
.
parseLong
(
kpiId
);
Timestamp
startTime
=
Timestamp
.
valueOf
(
sd
.
format
(
sdf
.
parse
(
reportSumStartTime
)));
Timestamp
startTime
=
Timestamp
.
valueOf
(
reportSumStartTime
);
Timestamp
endTime
=
Timestamp
.
valueOf
(
sd
.
format
(
sdf
.
parse
(
reportSumEndTime
)));
System
.
out
.
println
(
startTime
);
Timestamp
endTime
=
Timestamp
.
valueOf
(
reportSumEndTime
);
List
<
QualityRuleInfo
>
qualityRuleInfo
=
(
List
<
QualityRuleInfo
>)
qualityRuleInfoService
.
findBy
(
province
,
kpi
,
startTime
,
endTime
);
List
<
QualityRuleInfo
>
qualityRuleInfo
=
(
List
<
QualityRuleInfo
>)
qualityRuleInfoService
.
findBy
(
province
,
kpi
,
startTime
,
endTime
);
cmszOperationLogService
.
createLog
(
"查询"
,
"数据质量规则运营"
,
"查询数据质量规则运营明细"
);
cmszOperationLogService
.
createLog
(
"查询"
,
"数据质量规则运营"
,
"查询数据质量规则运营明细"
);
Gson
gson
=
new
Gson
();
Gson
gson
=
new
Gson
();
...
...
src/main/webapp/WEB-INF/views/AnalysisSupport/RuleOperationTable.jsp
View file @
c96dd352
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<th width="6.4%">告警类型</th>
<th width="6.4%">告警类型</th>
<th width="6.4%">指标监控时间</th>
<th width="6.4%">指标监控时间</th>
<th width="6.4%">指标业务时间</th>
<th width="6.4%">指标业务时间</th>
<
th width="6.4%">是否过滤</th
>
<
%--<th width="6.4%">是否过滤</th>--%
>
</tr>
</tr>
</thead>
</thead>
<tbody>
<tbody>
...
@@ -38,10 +38,10 @@
...
@@ -38,10 +38,10 @@
<td>${qualityRuleInfo.warningType}</td>
<td>${qualityRuleInfo.warningType}</td>
<td>${qualityRuleInfo.kpiMonitorRunTime}</td>
<td>${qualityRuleInfo.kpiMonitorRunTime}</td>
<td>${qualityRuleInfo.businessTime}</td>
<td>${qualityRuleInfo.businessTime}</td>
<
td
>
<
%--<td>--%
>
<
c:if test="${qualityRuleInfo.ifFilter == '0'}">未过滤</c:if
>
<
%--<c:if test="${qualityRuleInfo.ifFilter == '0'}">未过滤</c:if>--%
>
<
c:if test="${qualityRuleInfo.ifFilter == '1'}">已过滤</c:if
>
<
%--<c:if test="${qualityRuleInfo.ifFilter == '1'}">已过滤</c:if>--%
>
<
/td
>
<
%--</td>--%
>
</tr>
</tr>
</c:forEach>
</c:forEach>
</tbody>
</tbody>
...
...
src/main/webapp/static/js/ruleReportDetailTable.js
View file @
c96dd352
...
@@ -331,6 +331,7 @@ table_pagging.prototype = {
...
@@ -331,6 +331,7 @@ table_pagging.prototype = {
}
}
if
(
k
==
1
){
if
(
k
==
1
){
console
.
log
(
this
.
objectlist
[
i
])
tdContext
=
"<a href='javascript:;' onclick='selectOperation(
\"
"
+
this
.
getData
(
this
.
objectlist
[
i
],
"provinceId"
)
+
"
\"
,
\"
"
+
this
.
getData
(
this
.
objectlist
[
i
],
"kpiId"
)
+
"
\"
,
\"
"
+
this
.
getData
(
this
.
objectlist
[
i
],
"reportSumStartTime"
)
+
"
\"
,
\"
"
+
this
.
getData
(
this
.
objectlist
[
i
],
"reportSumEndTime"
)
+
"
\"
)'>"
+
this
.
getData
(
this
.
objectlist
[
i
],
this
.
header
[
k
][
1
])
+
"</a>"
;
tdContext
=
"<a href='javascript:;' onclick='selectOperation(
\"
"
+
this
.
getData
(
this
.
objectlist
[
i
],
"provinceId"
)
+
"
\"
,
\"
"
+
this
.
getData
(
this
.
objectlist
[
i
],
"kpiId"
)
+
"
\"
,
\"
"
+
this
.
getData
(
this
.
objectlist
[
i
],
"reportSumStartTime"
)
+
"
\"
,
\"
"
+
this
.
getData
(
this
.
objectlist
[
i
],
"reportSumEndTime"
)
+
"
\"
)'>"
+
this
.
getData
(
this
.
objectlist
[
i
],
this
.
header
[
k
][
1
])
+
"</a>"
;
}
}
...
@@ -529,7 +530,7 @@ table_pagging.prototype = {
...
@@ -529,7 +530,7 @@ table_pagging.prototype = {
alert
(
this
.
tablename
);
alert
(
this
.
tablename
);
}
}
}
}
;
//查看数据质量运营
//查看数据质量运营
function
selectOperation
(
provinceId
,
kpiId
,
reportSumStartTime
,
reportSumEndTime
){
function
selectOperation
(
provinceId
,
kpiId
,
reportSumStartTime
,
reportSumEndTime
){
$
.
dialog
({
$
.
dialog
({
...
@@ -543,7 +544,7 @@ function selectOperation(provinceId,kpiId,reportSumStartTime,reportSumEndTime){
...
@@ -543,7 +544,7 @@ function selectOperation(provinceId,kpiId,reportSumStartTime,reportSumEndTime){
$
.
ajax
({
$
.
ajax
({
type
:
'GET'
,
type
:
'GET'
,
contentType
:
'application/json'
,
contentType
:
'application/json'
,
url
:
"/AnalysisSupport/QualityRuleReport/findOperation?provinceId="
+
provinceId
+
"&kpiId="
+
kpiId
+
"&reportSumStartTime="
+
reportSumStartTime
+
"&reportSumEndTime="
+
reportSumEndTime
,
url
:
"/AnalysisSupport/QualityRuleReport/findOperation?provinceId="
+
provinceId
+
"&kpiId="
+
kpiId
+
"&reportSumStartTime="
+
df
.
format
(
new
Date
(
reportSumStartTime
))
+
"&reportSumEndTime="
+
df
.
format
(
new
Date
(
reportSumStartTime
))
,
dataType
:
'text'
,
dataType
:
'text'
,
beforeSend
:
function
(
data
)
{
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