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
c0e9f3d2
Commit
c0e9f3d2
authored
Jun 17, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群活码-链接调整
parent
1e1c4a34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
HmLinkApiServiceImpl.java
...age/service/service/out/impl/hm/HmLinkApiServiceImpl.java
+3
-4
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/hm/HmLinkApiServiceImpl.java
View file @
c0e9f3d2
...
...
@@ -198,6 +198,7 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
String
mixPhone
,
String
unionid
,
String
memberId
,
HmLinkBO
link
,
HmLinkWxaDTO
retDTO
,
LinkHmFromWxaQDTO
qdto
,
String
inStoreId
)
{
Long
hmId
=
link
.
getOtherChatHmId
();
Long
linkId
=
link
.
getLinkId
();
retDTO
.
setGroupChatHm
(
true
);
if
(
StringUtils
.
isNotEmpty
(
mixPhone
))
{
String
mobile
=
this
.
keyDataService
.
getMobile
(
mixPhone
,
link
.
getShortCode
());
log
.
info
(
"查询手机号,mobile={},mixPhone={}"
,
mobile
,
mixPhone
);
...
...
@@ -267,7 +268,7 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
hmId
=
storeToHmMap
.
values
().
iterator
().
next
().
get
(
0
).
getChatHmId
();
break
;
}
else
{
List
<
HmLinkStoreDTO
>
storeList
=
page
.
getResult
().
stream
().
map
(
store
->
{
List
<
HmLinkStoreDTO
>
storeList
=
page
.
getResult
().
stream
().
filter
(
o
->
CollectionUtils
.
isNotEmpty
(
storeToHmMap
.
get
(
o
.
getStoreId
()))).
map
(
store
->
{
HmLinkStoreDTO
storeDTO
=
EntityUtil
.
changeEntityByJSON
(
HmLinkStoreDTO
.
class
,
store
)
;
return
storeDTO
;
}).
collect
(
Collectors
.
toList
())
;
...
...
@@ -347,6 +348,7 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
// 如果是社群链接
if
(
link
.
getLinkType
()
==
HmLinkTypeEnum
.
CHAT_HM_LINK_TYPE
.
getLinkType
())
{
retDTO
.
setGroupChatHm
(
true
);
log
.
info
(
"群链接,linkId={}"
,
link
.
getLinkId
());
if
(
null
!=
qdto
.
getJustLocationFlag
()
&&
qdto
.
getJustLocationFlag
()==
1
)
{
JSONArray
arr
=
JSONArray
.
parseArray
(
link
.
getChatStoreRule
())
;
...
...
@@ -366,9 +368,6 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
}
}
ServiceResponse
<
HmLinkWxaDTO
>
resp
=
this
.
getLinkChatHmFromWxa
(
wxEnterpriseId
,
enterpriseId
,
mixPhone
,
unionid
,
memberId
,
link
,
retDTO
,
qdto
,
inStoreId
);
if
(
null
!=
resp
.
getResult
())
{
resp
.
getResult
().
setGroupChatHm
(
true
);
}
return
resp
;
}
...
...
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