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
0fd656d8
Commit
0fd656d8
authored
Aug 19, 2024
by
刘林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(Statistics):液化气瓶数量计算
parent
39187397
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
CylinderDPStatisticsServiceImpl.java
...tcs/biz/service/impl/CylinderDPStatisticsServiceImpl.java
+5
-3
No files found.
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/CylinderDPStatisticsServiceImpl.java
View file @
0fd656d8
...
...
@@ -288,13 +288,15 @@ public class CylinderDPStatisticsServiceImpl {
private
Map
<
String
,
Object
>
getCylinderMapCount
(
String
orgCode
,
Map
<
String
,
Object
>
result
)
{
if
(
StringUtils
.
isNotEmpty
(
orgCode
))
{
result
.
put
(
"cylindersCount"
,
this
.
countForCylinderNum
(
orgCode
));
Long
cylindersCount
=
this
.
countForCylinderNum
(
orgCode
);
Long
automotiveGasCount
=
this
.
countForCylinderNumForVehicleUsed
(
orgCode
);
result
.
put
(
"cylindersCount"
,
cylindersCount
);
result
.
put
(
"stationCount"
,
cylinderStatisticsMapper
.
countEnterpriseNumForCylinder
(
orgCode
));
result
.
put
(
"operatorCount"
,
cylinderAreaDataMapper
.
getOpertorStatisticsDataByCity
(
Collections
.
singletonList
(
orgCode
)));
// 液化气瓶 (个)
result
.
put
(
"liquefiedGasCount"
,
0L
);
result
.
put
(
"liquefiedGasCount"
,
cylindersCount
-
automotiveGasCount
);
// 车用气瓶 (个)
result
.
put
(
"automotiveGasCount"
,
this
.
countForCylinderNumForVehicleUsed
(
orgCode
)
);
result
.
put
(
"automotiveGasCount"
,
automotiveGasCount
);
// 工业气瓶 (个)
result
.
put
(
"industrialGasCount"
,
0L
);
// 使用登记数量
...
...
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