Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
Overview
Overview
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
haoban3.0
haoban-manage3.0
Commits
3704404d
Commit
3704404d
authored
Jan 04, 2024
by
guojx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店pk榜单接口不需要传门店id参数
parent
a597ab93
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
DataController.java
...gic/haoban/manage/web/controller/data/DataController.java
+5
-0
StoreRankController.java
...aoban/manage/web/controller/data/StoreRankController.java
+1
-1
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/data/DataController.java
View file @
3704404d
...
...
@@ -337,6 +337,11 @@ public class DataController {
}
String
apolloKey
=
qo
.
getApolloKey
();
boolean
notNeedStoreIdParam
=
"data_store_rank_index_info"
.
equals
(
apolloKey
);
if
(
notNeedStoreIdParam
)
{
jsonObject
.
remove
(
"storeId"
);
}
Map
<
String
,
Object
>
res
=
DataApiUtils
.
http
(
jsonObject
.
toJSONString
(),
apolloKey
);
boolean
isNeedFill
=
(
apolloKey
.
contains
(
"data_mbr_scale_stat_new_custm_overview"
)
...
...
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/data/StoreRankController.java
View file @
3704404d
...
...
@@ -79,7 +79,7 @@ public class StoreRankController {
if
(
CollectionUtils
.
isEmpty
(
enterpriseIndexList
))
{
return
RestResponse
.
successResult
(
Collections
.
emptyList
());
}
Set
<
String
>
set
=
i
ndexList
.
stream
().
map
(
e
->
e
.
getIndexCode
()).
collect
(
Collectors
.
toSet
());
Set
<
String
>
set
=
enterpriseI
ndexList
.
stream
().
map
(
e
->
e
.
getIndexCode
()).
collect
(
Collectors
.
toSet
());
indexList
=
indexList
.
stream
().
filter
(
e
->
set
.
contains
(
e
.
getIndexCode
())).
collect
(
Collectors
.
toList
());
return
RestResponse
.
successResult
(
indexList
);
}
...
...
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