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
6408b40e
Commit
6408b40e
authored
Sep 14, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugfix/2023-08-31' into 'master'
Bugfix/2023 08 31 See merge request
!1446
parents
4f0ee54e
dc980288
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
StaffClerkRelationServiceImpl.java
...e/service/service/impl/StaffClerkRelationServiceImpl.java
+5
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/impl/StaffClerkRelationServiceImpl.java
View file @
6408b40e
...
@@ -136,6 +136,7 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
...
@@ -136,6 +136,7 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
List
<
StaffClerkRelationDTO
>
relationList
=
this
.
listByStaffId
(
wxEnterpriseId
,
staffId
)
;
List
<
StaffClerkRelationDTO
>
relationList
=
this
.
listByStaffId
(
wxEnterpriseId
,
staffId
)
;
Set
<
String
>
set
=
relationList
.
stream
().
map
(
o
->
o
.
getEnterpriseId
()).
collect
(
Collectors
.
toSet
())
;
Set
<
String
>
set
=
relationList
.
stream
().
map
(
o
->
o
.
getEnterpriseId
()).
collect
(
Collectors
.
toSet
())
;
// 否关联的多个商户
// 否关联的多个商户
logger
.
info
(
"关联商户={}"
,
set
.
size
());
boolean
multipleFlag
=
set
.
size
()
>
1
;
boolean
multipleFlag
=
set
.
size
()
>
1
;
List
<
String
>
storeIdList
=
relationList
.
stream
().
filter
(
o
->!
storeId
.
equals
(
o
.
getStoreId
())
&&
o
.
getEnterpriseId
().
equals
(
enterpriseId
)).
map
(
o
->
o
.
getStoreId
()).
collect
(
Collectors
.
toList
())
;
List
<
String
>
storeIdList
=
relationList
.
stream
().
filter
(
o
->!
storeId
.
equals
(
o
.
getStoreId
())
&&
o
.
getEnterpriseId
().
equals
(
enterpriseId
)).
map
(
o
->
o
.
getStoreId
()).
collect
(
Collectors
.
toList
())
;
logger
.
info
(
"成员{},关联门店数={},同商户下的门店={}"
,
staffId
,
relationList
.
size
(),
JSON
.
toJSON
(
storeIdList
));
logger
.
info
(
"成员{},关联门店数={},同商户下的门店={}"
,
staffId
,
relationList
.
size
(),
JSON
.
toJSON
(
storeIdList
));
...
@@ -173,6 +174,10 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
...
@@ -173,6 +174,10 @@ public class StaffClerkRelationServiceImpl implements StaffClerkRelationService
newClerkId
=
mainClerk
.
getClerkId
()
;
newClerkId
=
mainClerk
.
getClerkId
()
;
logger
.
info
(
"查询到成员的主门店导购={},{}"
,
staffId
,
newClerkId
);
logger
.
info
(
"查询到成员的主门店导购={},{}"
,
staffId
,
newClerkId
);
}
}
}
else
{
if
(
multipleFlag
)
{
needFlush
=
true
;
}
}
}
}
}
// 删除关联关系
// 删除关联关系
...
...
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