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
00840d1a
Commit
00840d1a
authored
Aug 28, 2025
by
刘林
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register
parents
a245418e
d243a3a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
ComprehensiveStatisticalAnalysisServiceImpl.java
...ice/impl/ComprehensiveStatisticalAnalysisServiceImpl.java
+18
-0
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 @
00840d1a
...
...
@@ -310,6 +310,15 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
if
(!
ObjectUtils
.
isEmpty
(
filter
.
get
(
"filterParams"
)))
{
filterParams
=
JSONObject
.
parseObject
(
JSONObject
.
toJSONString
(
filter
.
get
(
"filterParams"
)));
if
(
filterParams
.
containsKey
(
"dp_filter_business_type"
))
{
String
businessType
=
filterParams
.
getString
(
"dp_filter_business_type"
);
if
(
StatisticalAnalysisEnum
.
person
.
getCode
().
equals
(
businessType
))
{
companyBoolMust
(
boolMust
,
"company"
);
}
else
if
(
StatisticalAnalysisEnum
.
inspectionPerson
.
getCode
().
equals
(
businessType
))
{
companyBoolMust
(
boolMust
,
"inspection"
);
boolMust
.
mustNot
(
QueryBuilders
.
wildcardQuery
(
"unitType.keyword"
,
"*检验检测机构*"
));
}
}
// 组装人员过滤条件
this
.
getPersonBoolQueryBuilder
(
filterParams
,
boolMust
,
filterType
);
if
(
"custom"
.
equals
(
filterType
))
{
...
...
@@ -550,6 +559,15 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
String
filterType
=
filter
.
getString
(
"filterType"
);
if
(!
ObjectUtils
.
isEmpty
(
filter
.
get
(
"filterParams"
)))
{
if
(
filterParams
.
containsKey
(
"dp_filter_business_type"
))
{
String
businessType
=
filterParams
.
getString
(
"dp_filter_business_type"
);
if
(
StatisticalAnalysisEnum
.
company
.
getCode
().
equals
(
businessType
))
{
companyBoolMust
(
boolMust
,
businessType
);
}
else
if
(
StatisticalAnalysisEnum
.
inspectionCompany
.
getCode
().
equals
(
businessType
))
{
companyBoolMust
(
boolMust
,
"inspection"
);
boolMust
.
mustNot
(
QueryBuilders
.
wildcardQuery
(
"unitType.keyword"
,
"*检验检测机构*"
));
}
}
getCompanyBoolQueryBuilder
(
filterParams
,
filterType
,
boolMust
);
}
...
...
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