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
501d29c5
Commit
501d29c5
authored
Jun 17, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
群活码-链接调整
parent
0630fd29
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
HmLinkApiServiceImpl.java
...age/service/service/out/impl/hm/HmLinkApiServiceImpl.java
+2
-1
GroupChatHmMapper.xml
...vice/src/main/resources/mapper/chat/GroupChatHmMapper.xml
+1
-1
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/hm/HmLinkApiServiceImpl.java
View file @
501d29c5
...
@@ -238,6 +238,7 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
...
@@ -238,6 +238,7 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
break
;
break
;
}
}
}
else
if
(
type
==
3
)
{
}
else
if
(
type
==
3
)
{
if
(
StringUtils
.
isNotEmpty
(
qdto
.
getLatitude
())
&&
StringUtils
.
isNotEmpty
(
qdto
.
getLongitude
())
&&
StringUtils
.
isNotEmpty
(
qdto
.
getDistrictCode
()))
{
Page
<
StoreDTO
>
page
=
new
Page
<>()
;
Page
<
StoreDTO
>
page
=
new
Page
<>()
;
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
Map
<
String
,
Object
>
params
=
new
HashMap
<
String
,
Object
>();
params
.
put
(
"latitude"
,
qdto
.
getLatitude
());
params
.
put
(
"latitude"
,
qdto
.
getLatitude
());
...
@@ -262,9 +263,9 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
...
@@ -262,9 +263,9 @@ public class HmLinkApiServiceImpl implements HmLinkApiService {
hmId
=
storeToHmMap
.
values
().
iterator
().
next
().
get
(
0
).
getChatHmId
();
hmId
=
storeToHmMap
.
values
().
iterator
().
next
().
get
(
0
).
getChatHmId
();
break
;
break
;
}
else
{
}
else
{
return
ServiceResponse
.
success
(
retDTO
);
return
ServiceResponse
.
success
(
retDTO
);
}
}
}
}
else
if
(
type
==
4
)
{
}
else
if
(
type
==
4
)
{
List
<
HmLinkChatDTO
>
hmList
=
this
.
hmLinkChatService
.
listByLinkId
(
wxEnterpriseId
,
enterpriseId
,
linkId
);
List
<
HmLinkChatDTO
>
hmList
=
this
.
hmLinkChatService
.
listByLinkId
(
wxEnterpriseId
,
enterpriseId
,
linkId
);
if
(
CollectionUtils
.
isNotEmpty
(
hmList
))
{
if
(
CollectionUtils
.
isNotEmpty
(
hmList
))
{
...
...
haoban-manage3-service/src/main/resources/mapper/chat/GroupChatHmMapper.xml
View file @
501d29c5
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
</select>
</select>
<select
id=
"hasManyOwnerStore"
resultType=
"com.gic.haoban.manage.service.pojo.HmStoreNumBO"
>
<select
id=
"hasManyOwnerStore"
resultType=
"com.gic.haoban.manage.service.pojo.HmStoreNumBO"
>
SELECT chat_hm_id
, COUNT(1)
FROM (
SELECT chat_hm_id
chatHmId , COUNT(1) num
FROM (
SELECT a.chat_hm_id , c.store_id FROM `tab_haoban_group_chat_hm_relation` a
SELECT a.chat_hm_id , c.store_id FROM `tab_haoban_group_chat_hm_relation` a
LEFT JOIN tab_haoban_group_chat b ON a.group_chat_id = b.group_chat_id
LEFT JOIN tab_haoban_group_chat b ON a.group_chat_id = b.group_chat_id
LEFT JOIN `tab_haoban_staff_clerk_relation` c ON c.staff_id = b.staff_id AND c.status_flag = 1
LEFT JOIN `tab_haoban_staff_clerk_relation` c ON c.staff_id = b.staff_id AND c.status_flag = 1
...
...
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