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
ccdf94f2
Commit
ccdf94f2
authored
Oct 18, 2023
by
zhangsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
问题修改
parent
e5cde6e9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
10 deletions
+11
-10
BigScreenAnalyseController.java
...dule/jxiop/biz/controller/BigScreenAnalyseController.java
+7
-7
IdxBizFanHealthIndexMapper.xml
...n/resources/mapper/cluster/IdxBizFanHealthIndexMapper.xml
+2
-1
IdxBizFanWarningRecordMapper.xml
...resources/mapper/cluster/IdxBizFanWarningRecordMapper.xml
+2
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/controller/BigScreenAnalyseController.java
View file @
ccdf94f2
...
@@ -616,13 +616,13 @@ public class BigScreenAnalyseController extends BaseController {
...
@@ -616,13 +616,13 @@ public class BigScreenAnalyseController extends BaseController {
if
(
100.0
==
equipmentHealthScore
)
{
if
(
100.0
==
equipmentHealthScore
)
{
item
.
put
(
"warningName"
,
"安全"
);
item
.
put
(
"warningName"
,
"安全"
);
}
else
{
}
else
{
LambdaQueryWrapper
<
IdxBiz
Fan
HealthLevel
>
query
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
IdxBiz
Pv
HealthLevel
>
query
=
new
LambdaQueryWrapper
<>();
query
.
eq
(
IdxBiz
Fan
HealthLevel:
:
getAnalysisObjType
,
"设备"
);
query
.
eq
(
IdxBiz
Pv
HealthLevel:
:
getAnalysisObjType
,
"设备"
);
query
.
eq
(
IdxBiz
FanHealthLevel:
:
getStatus
,
stationBasic
.
getStationName
());
query
.
eq
(
IdxBiz
PvHealthLevel:
:
getStatus
,
item
.
get
(
"station"
).
toString
());
query
.
lt
(
IdxBiz
Fan
HealthLevel:
:
getGroupLowerLimit
,
equipmentHealthScore
);
query
.
lt
(
IdxBiz
Pv
HealthLevel:
:
getGroupLowerLimit
,
equipmentHealthScore
);
query
.
ge
(
IdxBiz
Fan
HealthLevel:
:
getGroupUpperLimit
,
equipmentHealthScore
);
query
.
ge
(
IdxBiz
Pv
HealthLevel:
:
getGroupUpperLimit
,
equipmentHealthScore
);
IdxBiz
FanHealthLevel
idxBizFanHealthLevel
=
idxBizFan
HealthLevelMapper
.
selectOne
(
query
);
IdxBiz
PvHealthLevel
idxBizPvHealthLevel
=
idxBizPv
HealthLevelMapper
.
selectOne
(
query
);
item
.
put
(
"warningName"
,
idxBiz
Fan
HealthLevel
.
getHealthLevel
());
item
.
put
(
"warningName"
,
idxBiz
Pv
HealthLevel
.
getHealthLevel
());
}
}
item
.
put
(
"healthIndex"
,
equipmentHealthScore
);
item
.
put
(
"healthIndex"
,
equipmentHealthScore
);
});
});
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/cluster/IdxBizFanHealthIndexMapper.xml
View file @
ccdf94f2
...
@@ -621,7 +621,8 @@
...
@@ -621,7 +621,8 @@
<select
id=
"getPvPointNameListBySumSystem"
resultType=
"java.util.Map"
>
<select
id=
"getPvPointNameListBySumSystem"
resultType=
"java.util.Map"
>
SELECT
SELECT
POINT_NAME as pointName,
POINT_NAME as pointName,
INDEX_ADDRESS as indexAddress
INDEX_ADDRESS as indexAddress,
STATION AS station
FROM
FROM
idx_biz_pv_point_process_variable_classification
idx_biz_pv_point_process_variable_classification
<where>
<where>
...
...
amos-boot-system-jxiop/amos-boot-module-jxiop-analyse-biz/src/main/resources/mapper/cluster/IdxBizFanWarningRecordMapper.xml
View file @
ccdf94f2
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
AND a.recDate >= concat(#{startDate}, ' 00:00:00')
AND a.recDate >= concat(#{startDate}, ' 00:00:00')
</if>
</if>
<if
test=
"endDate != '' and endDate != null"
>
<if
test=
"endDate != '' and endDate != null"
>
AND concat(#{
start
Date}, ' 23:59:59') >= a.recDate
AND concat(#{
end
Date}, ' 23:59:59') >= a.recDate
</if>
</if>
</where>
</where>
order by warningName DESC, recDate DESC
order by warningName DESC, recDate DESC
...
@@ -119,7 +119,7 @@
...
@@ -119,7 +119,7 @@
AND a.recDate >= concat(#{startDate}, ' 00:00:00')
AND a.recDate >= concat(#{startDate}, ' 00:00:00')
</if>
</if>
<if
test=
"endDate != '' and endDate != null"
>
<if
test=
"endDate != '' and endDate != null"
>
AND concat(#{
start
Date}, ' 23:59:59') >= a.recDate
AND concat(#{
end
Date}, ' 23:59:59') >= a.recDate
</if>
</if>
</where>
) b
</where>
) b
</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