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
8d927f82
Commit
8d927f82
authored
Jul 18, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
备注
parent
1e409765
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
HmLinkApiServiceImpl.java
...age/service/service/out/impl/hm/HmLinkApiServiceImpl.java
+9
-2
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/hm/HmLinkApiServiceImpl.java
View file @
8d927f82
...
@@ -151,8 +151,8 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
...
@@ -151,8 +151,8 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
}
}
HmQrcodeBO
hm
=
null
;
HmQrcodeBO
hm
=
null
;
HmLinkWxaDTO
retDTO
=
new
HmLinkWxaDTO
();
HmLinkWxaDTO
retDTO
=
new
HmLinkWxaDTO
();
log
.
info
(
"小程序获取活码={},linkShortCode={},mixPhone={},memberId={},unionid={}"
,
enterpriseId
,
linkShortCode
,
log
.
info
(
"小程序获取活码={},linkShortCode={},mixPhone={},memberId={},unionid={}
,门店={}{}
"
,
enterpriseId
,
linkShortCode
,
mixPhone
,
memberId
,
unionid
);
mixPhone
,
memberId
,
unionid
,
inStoreId
,
whitchStore
);
HmLinkBO
link
=
this
.
hmLinkService
.
getByLinkShortCodeCache
(
linkShortCode
);
HmLinkBO
link
=
this
.
hmLinkService
.
getByLinkShortCodeCache
(
linkShortCode
);
if
(
null
==
link
)
{
if
(
null
==
link
)
{
log
.
error
(
"链接记录不存,linkShortCode={}"
,
linkShortCode
);
log
.
error
(
"链接记录不存,linkShortCode={}"
,
linkShortCode
);
...
@@ -205,6 +205,7 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
...
@@ -205,6 +205,7 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
if
(
null
==
hm
)
{
if
(
null
==
hm
)
{
return
ServiceResponse
.
failure
(
HaoBanErrCode
.
ERR_OTHER
.
getCode
(),
"导购活码不存在"
);
return
ServiceResponse
.
failure
(
HaoBanErrCode
.
ERR_OTHER
.
getCode
(),
"导购活码不存在"
);
}
}
retDTO
.
setSm
(
"会员选门店活码"
);
}
}
}
}
// 会员门店
// 会员门店
...
@@ -245,6 +246,9 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
...
@@ -245,6 +246,9 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
hm
=
this
.
getHmFormStore
(
wxEnterpriseId
,
mainStoreId
,
fwStore
.
getDz
(),
fwStore
.
getDy
());
hm
=
this
.
getHmFormStore
(
wxEnterpriseId
,
mainStoreId
,
fwStore
.
getDz
(),
fwStore
.
getDy
());
}
}
}
}
if
(
null
!=
hm
)
{
retDTO
.
setSm
(
"会员主门店活码"
);
}
// 协管门店
// 协管门店
List
<
MemberStoreClerkDataDTO
>
list
=
member
.
getStoreClerkRel
();
List
<
MemberStoreClerkDataDTO
>
list
=
member
.
getStoreClerkRel
();
if
(
null
==
hm
&&
null
!=
xgStore
&&
CollectionUtils
.
isNotEmpty
(
list
))
{
if
(
null
==
hm
&&
null
!=
xgStore
&&
CollectionUtils
.
isNotEmpty
(
list
))
{
...
@@ -283,6 +287,9 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
...
@@ -283,6 +287,9 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
}
}
}
}
}
}
if
(
null
!=
hm
)
{
retDTO
.
setSm
(
"会员协管活码"
);
}
}
}
}
}
}
}
...
...
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