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
6579ae79
Commit
6579ae79
authored
May 22, 2023
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
好办-客户详情-查询memberid
parent
189a0eba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
MemberUnionidRelatedApiServiceImpl.java
.../service/out/impl/MemberUnionidRelatedApiServiceImpl.java
+9
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/MemberUnionidRelatedApiServiceImpl.java
View file @
6579ae79
...
...
@@ -289,7 +289,7 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
dto
.
setErrmsg
(
"客户在当前商户下不存在"
);
return
com
.
gic
.
api
.
base
.
commons
.
ServiceResponse
.
success
(
dto
)
;
}
CustomerDTO
params
=
new
CustomerDTO
();
params
.
setClerkType
(
"0"
);
params
.
setStoreId
(
tab
.
getStoreId
());
...
...
@@ -306,7 +306,14 @@ public class MemberUnionidRelatedApiServiceImpl implements MemberUnionidRelatedA
List
<
FilterListDTO
>
filterList
=
new
ArrayList
<>();
filterList
.
add
(
filterListDTO
);
memberInfoListParamsDTO
.
setFilterList
(
filterList
);
boolean
flag
=
customerApiService
.
checkMemberRangeByMemberId
(
params
,
memberInfoListParamsDTO
);
List
<
StaffClerkRelationDTO
>
clerkRelationDTOS
=
staffClerkRelationService
.
listBindCodeByStaffId
(
null
,
staffId
);
Set
<
String
>
enterpriseIdList
=
clerkRelationDTOS
.
stream
().
map
(
o
->
o
.
getEnterpriseId
()).
collect
(
Collectors
.
toSet
());
log
.
info
(
"成员关联商户数={}"
,
enterpriseIdList
.
size
());
boolean
flag
=
true
;
if
(
enterpriseIdList
.
size
()
>
1
)
{
flag
=
customerApiService
.
checkMemberRangeByMemberId
(
params
,
memberInfoListParamsDTO
);
}
dto
.
setMemberId
(
tab
.
getMemberId
());
dto
.
setStoreId
(
tab
.
getStoreId
());
if
(
flag
)
{
...
...
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