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
825b6c21
Commit
825b6c21
authored
Oct 11, 2024
by
张森
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
31185 站端设备平台v5>运行趋势>运行监视>水箱液位趋势,液位值查询错误
parent
a41fb46f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
EquipmentSpecificSerivceImpl.java
...quipmanage/service/impl/EquipmentSpecificSerivceImpl.java
+7
-3
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 @
825b6c21
...
@@ -2569,15 +2569,19 @@ public class EquipmentSpecificSerivceImpl extends ServiceImpl<EquipmentSpecificM
...
@@ -2569,15 +2569,19 @@ public class EquipmentSpecificSerivceImpl extends ServiceImpl<EquipmentSpecificM
for
(
Map
<
String
,
String
>
mapList
:
listObject
)
{
for
(
Map
<
String
,
String
>
mapList
:
listObject
)
{
String
time
=
change
(
mapList
.
get
(
"time"
));
String
time
=
change
(
mapList
.
get
(
"time"
));
String
dateX
=
roundToNextFiveMinutes
(
time
);
String
dateX
=
roundToNextFiveMinutes
(
time
);
if
(
stringIntegerHashMap
.
containsKey
(
dateX
)){
for
(
String
key
:
equipIndexKeyNew
)
{
for
(
String
key
:
equipIndexKeyNew
)
{
if
(
mapList
.
containsKey
(
key
)
&&
!
ObjectUtils
.
isEmpty
(
mapList
.
get
(
key
)))
{
if
(
mapList
.
containsKey
(
key
)
&&
!
ObjectUtils
.
isEmpty
(
mapList
.
get
(
key
)))
{
if
(
stringIntegerHashMap
.
containsKey
(
dateX
))
{
stringIntegerHashMap
.
get
(
dateX
).
add
(
new
BigDecimal
(
mapList
.
get
(
key
)));
stringIntegerHashMap
.
get
(
dateX
).
add
(
new
BigDecimal
(
mapList
.
get
(
key
)));
}
else
{
List
<
BigDecimal
>
bigDecimals
=
new
ArrayList
<>();
bigDecimals
.
add
(
new
BigDecimal
(
mapList
.
get
(
key
)));
stringIntegerHashMap
.
put
(
dateX
,
bigDecimals
);
}
}
}
}
}
else
{
stringIntegerHashMap
.
put
(
dateX
,
new
ArrayList
<>());
}
}
}
}
}
}
}
}
...
...
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