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
4bb5d169
Commit
4bb5d169
authored
Jan 05, 2024
by
guojx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
赛区列表接口完善
parent
16ee9d3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
StoreRankController.java
...aoban/manage/web/controller/data/StoreRankController.java
+9
-2
No files found.
haoban-manage3-wx/src/main/java/com/gic/haoban/manage/web/controller/data/StoreRankController.java
View file @
4bb5d169
...
@@ -18,6 +18,7 @@ import com.gic.haoban.manage.web.vo.rank.IndexVO;
...
@@ -18,6 +18,7 @@ import com.gic.haoban.manage.web.vo.rank.IndexVO;
import
com.gic.haoban.manage.web.vo.rank.StoreRankAreaVO
;
import
com.gic.haoban.manage.web.vo.rank.StoreRankAreaVO
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.collections.CollectionUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
@@ -87,14 +88,20 @@ public class StoreRankController {
...
@@ -87,14 +88,20 @@ public class StoreRankController {
/**
/**
* 赛区列表
* 赛区列表
* @param pageQo
* @param pageQo
* @param enterpriseId
* @param indexCode
* @param indexCode
* @param storeId
* @return
* @return
*/
*/
@RequestMapping
(
"list-store-rank-area"
)
@RequestMapping
(
"list-store-rank-area"
)
@ResponseBody
@ResponseBody
public
RestResponse
<
Page
<
StoreRankAreaVO
>>
listStoreRankArea
(
PageQo
pageQo
,
String
enterpriseId
,
String
indexCode
)
{
public
RestResponse
<
Page
<
StoreRankAreaVO
>>
listStoreRankArea
(
PageQo
pageQo
,
String
enterpriseId
,
String
indexCode
,
String
storeId
)
{
List
<
String
>
authStoreIdList
=
new
ArrayList
<>();
if
(
StringUtils
.
isNotBlank
(
storeId
))
{
authStoreIdList
.
add
(
storeId
);
}
Page
<
StoreRankAreaDTO
>
page
=
storeRankApiService
Page
<
StoreRankAreaDTO
>
page
=
storeRankApiService
.
pageStoreRankArea
(
enterpriseId
,
indexCode
,
null
,
null
,
pageQo
.
getBasePageInfo
());
.
pageStoreRankArea
(
enterpriseId
,
indexCode
,
null
,
null
,
pageQo
.
getBasePageInfo
()
,
authStoreIdList
);
Page
<
StoreRankAreaVO
>
voPage
=
EntityUtil
.
changeEntityNew
(
Page
.
class
,
page
);
Page
<
StoreRankAreaVO
>
voPage
=
EntityUtil
.
changeEntityNew
(
Page
.
class
,
page
);
List
<
StoreRankAreaVO
>
voList
=
EntityUtil
.
changeEntityListNew
(
StoreRankAreaVO
.
class
,
page
.
getResult
());
List
<
StoreRankAreaVO
>
voList
=
EntityUtil
.
changeEntityListNew
(
StoreRankAreaVO
.
class
,
page
.
getResult
());
if
(
CollectionUtils
.
isNotEmpty
(
voList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
voList
))
{
...
...
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