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
07e98c1e
Commit
07e98c1e
authored
Jul 16, 2025
by
hcing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:统计服务,大屏综合统计查询接口--人员统计
parent
95a8067b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
ComprehensiveStatisticalAnalysisServiceImpl.java
...ice/impl/ComprehensiveStatisticalAnalysisServiceImpl.java
+8
-7
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/ComprehensiveStatisticalAnalysisServiceImpl.java
View file @
07e98c1e
...
...
@@ -3070,27 +3070,28 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
}
private
void
buildPersonWithPersonTypeGroupResult
(
Terms
personTypeGroupAgg
,
JSONObject
result
)
{
result
.
fluentPut
(
"zyfzr"
,
0L
).
fluentPut
(
"aqzj"
,
0L
).
fluentPut
(
"aqy"
,
0L
).
fluentPut
(
"jyry"
,
0L
).
fluentPut
(
"jcry"
,
0L
).
fluentPut
(
"zlaqzj"
,
0L
).
fluentPut
(
"zlaqy"
,
0L
);
if
(
personTypeGroupAgg
!=
null
)
{
for
(
Terms
.
Bucket
bucket
:
personTypeGroupAgg
.
getBuckets
())
{
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
zyfzr
.
getName
())){
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
zyfzr
.
getName
()))
{
result
.
put
(
"zyfzr"
,
bucket
.
getDocCount
());
}
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
aqzj
.
getName
())){
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
aqzj
.
getName
()))
{
result
.
put
(
"aqzj"
,
bucket
.
getDocCount
());
}
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
aqy
.
getName
())){
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
aqy
.
getName
()))
{
result
.
put
(
"aqy"
,
bucket
.
getDocCount
());
}
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
jyry
.
getName
())){
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
jyry
.
getName
()))
{
result
.
put
(
"jyry"
,
bucket
.
getDocCount
());
}
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
jcry
.
getName
())){
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
jcry
.
getName
()))
{
result
.
put
(
"jcry"
,
bucket
.
getDocCount
());
}
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
zlaqzj
.
getName
())){
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
zlaqzj
.
getName
()))
{
result
.
put
(
"zlaqzj"
,
bucket
.
getDocCount
());
}
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
zlaqy
.
getName
())){
if
(
bucket
.
getKeyAsString
().
equals
(
PersonTypeEnum
.
zlaqy
.
getName
()))
{
result
.
put
(
"zlaqy"
,
bucket
.
getDocCount
());
}
}
...
...
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