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
a2a3fa8b
Commit
a2a3fa8b
authored
Jul 16, 2025
by
hcing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(statistics): bugfix
parent
2f349912
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
ComprehensiveStatisticalAnalysisController.java
...ontroller/ComprehensiveStatisticalAnalysisController.java
+1
-1
ComprehensiveStatisticalAnalysisServiceImpl.java
...ice/impl/ComprehensiveStatisticalAnalysisServiceImpl.java
+1
-1
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/controller/ComprehensiveStatisticalAnalysisController.java
View file @
a2a3fa8b
...
@@ -202,7 +202,7 @@ public class ComprehensiveStatisticalAnalysisController extends BaseController {
...
@@ -202,7 +202,7 @@ public class ComprehensiveStatisticalAnalysisController extends BaseController {
JSONObject
filterParams
=
jsonObject
.
getJSONObject
(
"filterParams"
);
JSONObject
filterParams
=
jsonObject
.
getJSONObject
(
"filterParams"
);
JSONArray
expiryDate
=
filterParams
.
getJSONArray
(
"expiryDate"
);
JSONArray
expiryDate
=
filterParams
.
getJSONArray
(
"expiryDate"
);
expiryDate
.
remove
(
targetValue
);
expiryDate
.
remove
(
targetValue
);
JSONArray
certNo
=
filterParams
.
getJSONArray
(
"certNo"
);
JSONArray
certNo
=
Optional
.
ofNullable
(
filterParams
.
getJSONArray
(
"certNo"
)).
orElseGet
(
JSONArray:
:
new
);
certNo
.
add
(
"0"
);
certNo
.
add
(
"0"
);
filterParams
.
fluentPut
(
"expiryDate"
,
expiryDate
).
fluentPut
(
"certNo"
,
certNo
);
filterParams
.
fluentPut
(
"expiryDate"
,
expiryDate
).
fluentPut
(
"certNo"
,
certNo
);
jsonObject
.
put
(
"filterParams"
,
filterParams
);
jsonObject
.
put
(
"filterParams"
,
filterParams
);
...
...
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 @
a2a3fa8b
...
@@ -3162,7 +3162,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
...
@@ -3162,7 +3162,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
BoolQueryBuilder
nothingBoolQuery
=
QueryBuilderUtils
.
copyBoolQuery
(
boolQuery
);
BoolQueryBuilder
nothingBoolQuery
=
QueryBuilderUtils
.
copyBoolQuery
(
boolQuery
);
NestedQueryBuilder
nothingNestedQuery
=
QueryBuilders
.
nestedQuery
(
NestedQueryBuilder
nothingNestedQuery
=
QueryBuilders
.
nestedQuery
(
path
,
path
,
QueryBuilders
.
boolQuery
().
must
(
QueryBuilders
.
existsQuery
(
nestedField
)),
QueryBuilders
.
boolQuery
().
must
Not
(
QueryBuilders
.
existsQuery
(
nestedField
)),
ScoreMode
.
None
ScoreMode
.
None
);
);
nothingBoolQuery
.
must
(
nothingNestedQuery
);
nothingBoolQuery
.
must
(
nothingNestedQuery
);
...
...
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