Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
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
base_platform_enterprise
gic-store
Commits
8bf9e7d9
Commit
8bf9e7d9
authored
Jan 15, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整新的资源组
parent
d76e48b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
StoreController.java
...in/java/com/gic/store/web/controller/StoreController.java
+4
-4
No files found.
gic-store-web/src/main/java/com/gic/store/web/controller/StoreController.java
View file @
8bf9e7d9
...
...
@@ -190,8 +190,8 @@ public class StoreController extends DownloadUtils {
Integer
enterpriseId
=
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
();
Integer
userId
=
UserDetailUtils
.
getUserDetail
().
getUserId
();
storeSearchDTO
.
setEnterpriseId
(
enterpriseId
);
if
(
UserDetailUtils
.
getUserDetail
().
get
User
ResourceInfo
()
!=
null
){
storeSearchDTO
.
setStoreResource
(
UserDetailUtils
.
getUserDetail
().
getUserResourceInfo
().
getStoreResource
(
));
if
(
UserDetailUtils
.
getUserDetail
().
get
Store
ResourceInfo
()
!=
null
){
storeSearchDTO
.
setStoreResource
(
Long
.
valueOf
(
UserDetailUtils
.
getUserDetail
().
getStoreResourceInfo
().
getStoreResourceId
()
));
}
//门店标签
...
...
@@ -261,8 +261,8 @@ public class StoreController extends DownloadUtils {
}
storeSearchDTO
.
setEnterpriseId
(
UserDetailUtils
.
getUserDetail
().
getEnterpriseId
());
storeSearchDTO
.
setStatus
(
StoreStatusEnum
.
ONLINE
.
getCode
());
if
(
UserDetailUtils
.
getUserDetail
().
get
User
ResourceInfo
()
!=
null
){
storeSearchDTO
.
setStoreResource
(
UserDetailUtils
.
getUserDetail
().
getUserResourceInfo
().
getStoreResource
(
));
if
(
UserDetailUtils
.
getUserDetail
().
get
Store
ResourceInfo
()
!=
null
){
storeSearchDTO
.
setStoreResource
(
Long
.
valueOf
(
UserDetailUtils
.
getUserDetail
().
getStoreResourceInfo
().
getStoreResourceId
()
));
}
ServiceResponse
<
Long
>
response
=
this
.
storeApiService
.
queryStoreCountFromEs
(
storeSearchDTO
);
return
RestResponse
.
success
(
response
.
getResult
());
...
...
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