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
5b04d9c5
Commit
5b04d9c5
authored
Dec 08, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改不过,告警名称
parent
1c617770
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
EquipmentSpecificSerivceImpl.java
...quipmanage/service/impl/EquipmentSpecificSerivceImpl.java
+5
-1
EquipmentSpecificIndexMapper.xml
...rc/main/resources/mapper/EquipmentSpecificIndexMapper.xml
+2
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-equip-biz/src/main/java/com/yeejoin/equipmanage/service/impl/EquipmentSpecificSerivceImpl.java
View file @
5b04d9c5
...
@@ -1877,7 +1877,11 @@ public class EquipmentSpecificSerivceImpl extends ServiceImpl<EquipmentSpecificM
...
@@ -1877,7 +1877,11 @@ public class EquipmentSpecificSerivceImpl extends ServiceImpl<EquipmentSpecificM
EquipmentSpecificIndex
equipmentSpecificIndex
=
collect
.
get
(
entry
.
getKey
());
EquipmentSpecificIndex
equipmentSpecificIndex
=
collect
.
get
(
entry
.
getKey
());
if
(!
ObjectUtils
.
isEmpty
(
equipmentSpecificIndex
))
{
if
(!
ObjectUtils
.
isEmpty
(
equipmentSpecificIndex
))
{
IotIndexInfoVo
iotIndexInfoVo
=
new
IotIndexInfoVo
();
IotIndexInfoVo
iotIndexInfoVo
=
new
IotIndexInfoVo
();
iotIndexInfoVo
.
setType
(
equipmentSpecificIndex
.
getIndexName
());
iotIndexInfoVo
.
setType
(
equipmentSpecificIndex
.
getTypeName
()!=
null
?
equipmentSpecificIndex
.
getTypeName
():
equipmentSpecificIndex
.
getIndexName
());
iotIndexInfoVo
.
setNumber
(
deviceName
);
iotIndexInfoVo
.
setNumber
(
deviceName
);
if
(
equipmentSpecificIndex
.
getIsTrend
()
==
1
)
{
if
(
equipmentSpecificIndex
.
getIsTrend
()
==
1
)
{
iotIndexInfoVo
.
setContent
(
equipmentSpecificIndex
.
getIndexName
()
+
entry
.
getValue
()
+
equipmentSpecificIndex
.
getIndexUnitName
());
iotIndexInfoVo
.
setContent
(
equipmentSpecificIndex
.
getIndexName
()
+
entry
.
getValue
()
+
equipmentSpecificIndex
.
getIndexUnitName
());
...
...
amos-boot-system-equip/src/main/resources/mapper/EquipmentSpecificIndexMapper.xml
View file @
5b04d9c5
...
@@ -456,7 +456,8 @@
...
@@ -456,7 +456,8 @@
wei.is_trend isTrend,
wei.is_trend isTrend,
wesi.value_label,
wesi.value_label,
wesi.equipment_index_name,
wesi.equipment_index_name,
wesi.update_date AS updateDate
wesi.update_date AS updateDate,
wei.type_name AS typeName
FROM
FROM
wl_equipment_specific_index AS wesi
wl_equipment_specific_index AS wesi
LEFT JOIN wl_equipment_specific AS wes ON wes.id = wesi.equipment_specific_id
LEFT JOIN wl_equipment_specific AS wes ON wes.id = wesi.equipment_specific_id
...
...
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