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
7a40c437
Commit
7a40c437
authored
Jun 04, 2024
by
韩桐桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(cyl):处理填充量出现的科学计数法
parent
7a4da9e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
CylinderInfoServiceImpl.java
...ylinder/flc/biz/service/impl/CylinderInfoServiceImpl.java
+3
-3
No files found.
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/java/com/yeejoin/amos/boot/module/cylinder/flc/biz/service/impl/CylinderInfoServiceImpl.java
View file @
7a40c437
...
...
@@ -1331,11 +1331,11 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
HashMap
<
String
,
Object
>
temMap1
=
new
HashMap
<>();
temMap1
.
put
(
"data"
,
seriesFillingTimesDataList
);
temMap1
.
put
(
"name"
,
"充装次数"
);
temMap1
.
put
(
"stack"
,
"充装次数"
);
//
temMap1.put("stack","充装次数");
HashMap
<
String
,
Object
>
temMap2
=
new
HashMap
<>();
temMap2
.
put
(
"data"
,
seriesCumulativeFillingQuantityDataList
);
temMap2
.
put
(
"name"
,
"累计充装量"
);
temMap2
.
put
(
"stack"
,
"累计充装量"
);
//
temMap2.put("stack","累计充装量");
seriesData
.
add
(
temMap1
);
seriesData
.
add
(
temMap2
);
result
.
put
(
"seriesData"
,
seriesData
);
...
...
@@ -1378,7 +1378,7 @@ public class CylinderInfoServiceImpl extends BaseService<CylinderInfoDto, Cylind
resultMap
.
put
(
REGION_CODE
,
regionModel
.
getRegionCode
());
resultMap
.
put
(
REGION_NAME
,
regionModel
.
getRegionName
());
resultMap
.
put
(
FILLING_TIMES
,
uniqueCount
);
resultMap
.
put
(
FILLING_QUANTITY
,
totalSum
);
resultMap
.
put
(
FILLING_QUANTITY
,
Math
.
round
(
totalSum
)
);
return
resultMap
;
}
catch
(
IOException
e
)
{
e
.
printStackTrace
();
...
...
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