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
303ee419
Commit
303ee419
authored
Jul 25, 2023
by
caotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户反馈问题电量表计需要保留3位小数位问题处理
parent
423195e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
MonitorFanIndicatorImpl.java
...odule/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
+1
-1
No files found.
amos-boot-system-jxiop/amos-boot-module-jxiop-monitor-biz/src/main/java/com/yeejoin/amos/boot/module/jxiop/biz/service/impl/MonitorFanIndicatorImpl.java
View file @
303ee419
...
...
@@ -916,7 +916,7 @@ public class MonitorFanIndicatorImpl implements IMonitorFanIndicator {
HashMap
<
String
,
String
>
stringStringHashMap
=
new
HashMap
<>();
stringStringHashMap
.
put
(
"name"
,
stringListEntry
.
getKey
());
for
(
IndicatorsDto
indicatorsDto
:
stringListEntry
.
getValue
())
{
stringStringHashMap
.
put
(
ElectricQuantity
.
getCode
(
indicatorsDto
.
getDisplayName
()),
indicatorsDto
.
getValue
(
));
stringStringHashMap
.
put
(
ElectricQuantity
.
getCode
(
indicatorsDto
.
getDisplayName
()),
String
.
format
(
"%.3f"
,
ObjectUtils
.
isEmpty
(
indicatorsDto
.
getValue
())?
0.0
:
Double
.
parseDouble
(
indicatorsDto
.
getValue
())
));
}
resultList
.
add
(
stringStringHashMap
);
}
...
...
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