Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f680e53c
authored
Dec 28, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
大数据研判首页展示所有生效状态的警情统计数据
1 parent
7122c320
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
src/main/java/cn/com/glsx/admin/modules/remote/RemoteStuJudgeAlarmService.java
src/main/java/cn/com/glsx/admin/modules/service/HomeService.java
src/main/java/cn/com/glsx/admin/modules/remote/RemoteStuJudgeAlarmService.java
View file @
f680e53
...
@@ -27,15 +27,13 @@ public class RemoteStuJudgeAlarmService {
...
@@ -27,15 +27,13 @@ public class RemoteStuJudgeAlarmService {
@Autowired
@Autowired
private
StuJudgeAlarmFeignClient
stuJudgeAlarmFeignClient
;
private
StuJudgeAlarmFeignClient
stuJudgeAlarmFeignClient
;
public
Integer
getStuJudgeAlarmCount
(
List
<
String
>
sns
,
String
startTime
,
String
endTime
)
{
public
Integer
getStuJudgeAlarmCount
(
List
<
String
>
sns
)
{
Integer
judgeAlarmCount
=
0
;
Integer
judgeAlarmCount
=
0
;
if
(
CollectionUtils
.
isEmpty
(
sns
))
{
if
(
CollectionUtils
.
isEmpty
(
sns
))
{
return
judgeAlarmCount
;
return
judgeAlarmCount
;
}
}
StuJudgeAlarmBo
stuJudgeAlarmBo
=
new
StuJudgeAlarmBo
();
StuJudgeAlarmBo
stuJudgeAlarmBo
=
new
StuJudgeAlarmBo
();
stuJudgeAlarmBo
.
setSns
(
sns
);
stuJudgeAlarmBo
.
setSns
(
sns
);
stuJudgeAlarmBo
.
setStartTime
(
startTime
);
stuJudgeAlarmBo
.
setEndTime
(
endTime
);
R
<
Integer
>
stuJudgeAlarmCountR
=
stuJudgeAlarmFeignClient
.
getStuJudgeAlarmCount
(
stuJudgeAlarmBo
);
R
<
Integer
>
stuJudgeAlarmCountR
=
stuJudgeAlarmFeignClient
.
getStuJudgeAlarmCount
(
stuJudgeAlarmBo
);
judgeAlarmCount
=
stuJudgeAlarmCountR
.
getData
(
Integer
.
class
);
judgeAlarmCount
=
stuJudgeAlarmCountR
.
getData
(
Integer
.
class
);
if
(
judgeAlarmCount
==
null
)
{
if
(
judgeAlarmCount
==
null
)
{
...
...
src/main/java/cn/com/glsx/admin/modules/service/HomeService.java
View file @
f680e53
...
@@ -140,7 +140,7 @@ public class HomeService {
...
@@ -140,7 +140,7 @@ public class HomeService {
returnMap
.
put
(
"offLineAlarmCount"
,
offLineAlarmCount
);
returnMap
.
put
(
"offLineAlarmCount"
,
offLineAlarmCount
);
// 查询大数据研判警情 大数据研判报警总数包括 聚集 黑区 二押
// 查询大数据研判警情 大数据研判报警总数包括 聚集 黑区 二押
Integer
stuJudgeAlarmCount
=
remoteStuJudgeAlarmService
.
getStuJudgeAlarmCount
(
sns
,
startTime
,
endTime
);
Integer
stuJudgeAlarmCount
=
remoteStuJudgeAlarmService
.
getStuJudgeAlarmCount
(
sns
);
returnMap
.
put
(
"stuJudgeAlarmCount"
,
stuJudgeAlarmCount
);
returnMap
.
put
(
"stuJudgeAlarmCount"
,
stuJudgeAlarmCount
);
return
returnMap
;
return
returnMap
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment