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
83d7e740
Commit
83d7e740
authored
Aug 14, 2024
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
特设大屏-气瓶页面-修改企业气瓶数量排名TOP10限制
parent
4410ea52
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
CylinderDPStatisticsServiceImpl.java
...tcs/biz/service/impl/CylinderDPStatisticsServiceImpl.java
+1
-2
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/CylinderDPStatisticsServiceImpl.java
View file @
83d7e740
...
@@ -92,7 +92,7 @@ public class CylinderDPStatisticsServiceImpl {
...
@@ -92,7 +92,7 @@ public class CylinderDPStatisticsServiceImpl {
// 按照管辖机构区域信息模糊查询
// 按照管辖机构区域信息模糊查询
.
must
(
QueryBuilders
.
wildcardQuery
(
"ORG_BRANCH_CODE.keyword"
,
QueryParser
.
escape
(
orgCode
)
+
"*"
))
.
must
(
QueryBuilders
.
wildcardQuery
(
"ORG_BRANCH_CODE.keyword"
,
QueryParser
.
escape
(
orgCode
)
+
"*"
))
);
);
TermsAggregationBuilder
aggregation
=
AggregationBuilders
.
terms
(
"USE_UNIT_CREDIT_CODE"
).
field
(
"USE_UNIT_CREDIT_CODE.keyword"
).
size
(
30
0
);
TermsAggregationBuilder
aggregation
=
AggregationBuilders
.
terms
(
"USE_UNIT_CREDIT_CODE"
).
field
(
"USE_UNIT_CREDIT_CODE.keyword"
).
size
(
1
0
);
searchSourceBuilder
.
aggregation
(
aggregation
);
searchSourceBuilder
.
aggregation
(
aggregation
);
searchRequest
.
source
(
searchSourceBuilder
);
searchRequest
.
source
(
searchSourceBuilder
);
// 执行搜索并获取响应
// 执行搜索并获取响应
...
@@ -113,7 +113,6 @@ public class CylinderDPStatisticsServiceImpl {
...
@@ -113,7 +113,6 @@ public class CylinderDPStatisticsServiceImpl {
if
(
keys
.
size
()
>
0
){
if
(
keys
.
size
()
>
0
){
useCodeEntryMap
=
getStringTzBaseEnterpriseInfoDtoMap
(
keys
);
useCodeEntryMap
=
getStringTzBaseEnterpriseInfoDtoMap
(
keys
);
}
}
dataList
=
dataList
.
stream
().
limit
(
10
).
collect
(
Collectors
.
toList
());
for
(
Map
<
String
,
Object
>
item
:
dataList
)
{
for
(
Map
<
String
,
Object
>
item
:
dataList
)
{
Object
key
=
item
.
get
(
"key"
);
Object
key
=
item
.
get
(
"key"
);
if
(
useCodeEntryMap
.
containsKey
(
key
))
{
if
(
useCodeEntryMap
.
containsKey
(
key
))
{
...
...
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