Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-service
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
qinchao
8 years ago
Commit
b2d3285fdb26b8acff9d0bdbd0ef6e8f45488415
1 parent
8191298f
任务显示不出
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
monitor-service-other/src/main/java/com/monitor/other/task/TaskConfigureCtrl.java
monitor-service-other/src/main/java/com/monitor/other/task/TaskConfigureCtrl.java
View file @
b2d3285
...
...
@@ -121,7 +121,8 @@ public class TaskConfigureCtrl {
@RequestMapping
(
"/getGatewayEvents"
)
@ResponseBody
private
String
getGatewayEvents
()
{
private
BaseResponse
getGatewayEvents
()
{
BaseResponse
res
=
new
BaseResponse
();
List
<
String
>
rtnEvents
=
new
ArrayList
<
String
>();
QueryResult
queryResult
=
gatewayAccessEventsMapper
.
selectTagValuesType
(
InfluxDBContants
.
AWS
);
List
<
List
<
Object
>>
valuesList
=
QueryResultUtil
.
getValues
(
queryResult
);
...
...
@@ -151,7 +152,8 @@ public class TaskConfigureCtrl {
map
.
put
(
"text"
,
str
);
comboMapList
.
add
(
map
);
}
return
JSON
.
toJSONString
(
comboMapList
);
res
.
setData
(
comboMapList
);
return
res
;
}
//gateWay access事件检测----后续新增功能--MEBU_GATEWAY_ADDSOURCE区分数据源
...
...
Please
register
or
login
to post a comment