Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
c6f3147d
Commit
c6f3147d
authored
Oct 30, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
f28d21ee
d922e92f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
IdxBizPvHealthIndexController.java
...e/jxiop/biz/controller/IdxBizPvHealthIndexController.java
+2
-2
IdxBizPvHealthIndexMapper.xml
...in/resources/mapper/cluster/IdxBizPvHealthIndexMapper.xml
+2
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/IdxBizPvHealthIndexController.java
View file @
c6f3147d
...
@@ -178,8 +178,8 @@ public class IdxBizPvHealthIndexController extends BaseController {
...
@@ -178,8 +178,8 @@ public class IdxBizPvHealthIndexController extends BaseController {
map
.
put
(
"value"
,
idxBizPvWarningRecordList
.
stream
().
filter
(
e
->
e
.
getWarningName
().
equals
(
"警告"
)).
count
());
map
.
put
(
"value"
,
idxBizPvWarningRecordList
.
stream
().
filter
(
e
->
e
.
getWarningName
().
equals
(
"警告"
)).
count
());
warningNum
.
put
(
"name"
,
"注意"
);
warningNum
.
put
(
"name"
,
"注意"
);
warningNum
.
put
(
"value"
,
idxBizPvWarningRecordList
.
stream
().
filter
(
e
->
e
.
getWarningName
().
equals
(
"注意"
)).
count
());
warningNum
.
put
(
"value"
,
idxBizPvWarningRecordList
.
stream
().
filter
(
e
->
e
.
getWarningName
().
equals
(
"注意"
)).
count
());
pointNum
.
put
(
"name"
,
"
正常
"
);
pointNum
.
put
(
"name"
,
"
安全
"
);
pointNum
.
put
(
"value"
,
total
-
idxBizPvWarningRecordList
.
size
(
));
pointNum
.
put
(
"value"
,
Math
.
max
((
total
-
idxBizPvWarningRecordList
.
size
()),
0
));
List
<
Map
<
String
,
Object
>>
list
=
new
ArrayList
<>();
List
<
Map
<
String
,
Object
>>
list
=
new
ArrayList
<>();
list
.
add
(
pointNum
);
list
.
add
(
pointNum
);
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/cluster/IdxBizPvHealthIndexMapper.xml
View file @
c6f3147d
...
@@ -134,6 +134,7 @@
...
@@ -134,6 +134,7 @@
AND b.POINT_NAME = #{POINTNAME}
AND b.POINT_NAME = #{POINTNAME}
</if>
</if>
</where>
</where>
group by INDEX_ADDRESS
order by b.HEALTH_INDEX ASC
order by b.HEALTH_INDEX ASC
limit ${current},${size}
limit ${current},${size}
...
@@ -185,6 +186,7 @@
...
@@ -185,6 +186,7 @@
AND b.POINT_NAME = #{POINTNAME}
AND b.POINT_NAME = #{POINTNAME}
</if>
</if>
</where>
</where>
<!-- group by INDEX_ADDRESS-->
</select>
</select>
...
...
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