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
f20ecc5c
Commit
f20ecc5c
authored
Sep 14, 2024
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏-气瓶-点击延安区域报错修改
parent
9b3372fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
AQZSDPStatisticsServiceImpl.java
...atistcs/biz/service/impl/AQZSDPStatisticsServiceImpl.java
+2
-0
CylinderDPStatisticsServiceImpl.java
...tcs/biz/service/impl/CylinderDPStatisticsServiceImpl.java
+3
-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/AQZSDPStatisticsServiceImpl.java
View file @
f20ecc5c
...
...
@@ -372,6 +372,8 @@ public class AQZSDPStatisticsServiceImpl {
countItemDto
.
setCzjc
(
"0"
);
countItemDto
.
setCzjchege
(
"0"
);
countItemDto
.
setJianyanchaoqi
(
"0"
);
countItemDto
.
setRyhg
(
"0"
);
countItemDto
.
setSjhg
(
"0"
);
}
public
Map
<
String
,
Object
>
mainBodyCount
(
DPFilterParamDto
dpFilterParamDto
)
{
...
...
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 @
f20ecc5c
...
...
@@ -467,11 +467,11 @@ public class CylinderDPStatisticsServiceImpl {
private
Map
<
String
,
Object
>
getStationRate
(
String
orgCode
,
Map
<
String
,
Object
>
result
){
// 气站总数
Long
totalNum
=
cylinderStatisticsMapper
.
countEnterpriseNumForCylinder
(
orgCode
);
Long
totalNum
=
null
==
orgCode
?
null
:
cylinderStatisticsMapper
.
countEnterpriseNumForCylinder
(
orgCode
);
// 已对接总数(存在充装业务数据的企业则认为已对接)
Long
count
=
cylinderStatisticsMapper
.
countEnterpriseUsed
(
orgCode
);
Long
count
=
null
==
orgCode
?
null
:
cylinderStatisticsMapper
.
countEnterpriseUsed
(
orgCode
);
if
(
totalNum
!=
null
&&
count
!=
null
)
{
if
(
totalNum
!=
null
&&
count
!=
null
&&
totalNum
>
0
)
{
BigDecimal
percent
=
(
new
BigDecimal
(
count
.
doubleValue
()
*
100
).
divide
(
new
BigDecimal
(
totalNum
.
doubleValue
()),
2
,
RoundingMode
.
HALF_UP
));
result
.
put
(
"stationRate"
,
Double
.
valueOf
(
percent
.
toString
()));
}
else
{
...
...
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