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
533f0d61
Commit
533f0d61
authored
Jul 29, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店查询
parent
7861bdcc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
HmStoreController.java
...ic/haoban/manage/web/controller/hm/HmStoreController.java
+4
-5
No files found.
haoban-manage3-web/src/main/java/com/gic/haoban/manage/web/controller/hm/HmStoreController.java
View file @
533f0d61
...
...
@@ -26,6 +26,7 @@ import com.gic.clerk.api.service.ClerkService;
import
com.gic.commons.util.EntityUtil
;
import
com.gic.commons.webapi.reponse.RestResponse
;
import
com.gic.enterprise.api.dto.StoreDTO
;
import
com.gic.enterprise.api.dto.StoreGroupDTO
;
import
com.gic.enterprise.api.dto.StoreSearchDTO
;
import
com.gic.enterprise.api.service.StoreGroupService
;
import
com.gic.enterprise.api.service.StoreService
;
...
...
@@ -88,11 +89,9 @@ public class HmStoreController {
params
.
put
(
"status"
,
2
);
if
(
StringUtils
.
isNotBlank
(
storeGroupId
))
{
boolean
flag
=
true
;
List
<
String
>
rootGroup
=
this
.
storeGroupService
.
getStoreGroupIdsByParentId
(
enterpriseId
,
"0"
)
;
if
(
CollectionUtils
.
isNotEmpty
(
rootGroup
))
{
logger
.
info
(
"根节点={},{}"
,
rootGroup
,
storeGroupId
.
contains
(
rootGroup
.
get
(
0
)));
if
(
storeGroupId
.
contains
(
rootGroup
.
get
(
0
)))
{
logger
.
info
(
"所有门店"
);
if
(!
storeGroupId
.
contains
(
","
))
{
StoreGroupDTO
groupDTO
=
this
.
storeGroupService
.
getStoreGroupById
(
storeGroupId
)
;
if
(
null
!=
groupDTO
&&
groupDTO
.
getParentGroupId
().
equals
(
"0"
))
{
flag
=
false
;
}
}
...
...
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