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
37035857
Commit
37035857
authored
Jul 23, 2025
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: 修改安全追溯中屏地图企业总览和人员总量的计算方式
parent
4a6e648d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
AQZSDPStatisticsServiceImpl.java
...atistcs/biz/service/impl/AQZSDPStatisticsServiceImpl.java
+9
-5
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 @
37035857
...
...
@@ -924,7 +924,7 @@ public class AQZSDPStatisticsServiceImpl {
BoolQueryBuilder
personBoolMust
=
QueryBuilders
.
boolQuery
();
personBoolMust
.
must
(
QueryBuilders
.
prefixQuery
(
"superviseOrgCode"
,
orgCode
));
Long
personCount
=
statisticalAnalysisService
.
getStatisticCount
(
personBoolMust
,
StatisticalAnalysisEnum
.
person
.
getKey
());
result
.
put
(
DPMapStatisticsItemEnum
.
OPERATORS
.
getCode
(),
personCount
);
result
.
put
(
DPMapStatisticsItemEnum
.
PERSON_TOTAL
.
getCode
(),
personCount
);
}
private
void
staticsCenterMapCompanyCountToEs
(
Map
<
String
,
Object
>
result
,
String
orgCode
)
{
...
...
@@ -1020,10 +1020,14 @@ public class AQZSDPStatisticsServiceImpl {
stCommonService
.
staticsCenterMapCountDataForEquip
(
result
,
cylinderNum
,
orgCode
,
true
,
true
,
false
);
// 2. 压力管道长度统计
stCommonService
.
staticsCenterMapCountDataForPipeline
(
result
,
orgCode
,
true
,
false
);
// 3.单位数量统计
this
.
staticsCenterMapCountDataForCompany
(
result
,
orgCode
,
dpFilterParamDto
.
getCityCode
());
// 4. 人员数量统计
this
.
staticsCenterMapCountDataForPerson
(
result
,
dpFilterParamDto
,
orgCode
);
//3.单位数量统计
// 单位统计修改为查询es
// this.staticsCenterMapCountDataForCompany(result, orgCode, dpFilterParamDto.getCityCode());
this
.
staticsCenterMapCompanyCountToEs
(
result
,
orgCode
);
//4.人员数量统计
// 人员统计改为查询es,修改之前查询的是作业人员的总数,修改为所有人员的总数
// this.staticsCenterMapCountDataForPerson(result, dpFilterParamDto, orgCode);
this
.
staticsCenterMapPersonCountToEs
(
result
,
orgCode
);
// 5.问题统计
this
.
staticsCenterMapCountDataForIssue
(
result
,
orgCode
);
...
...
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