Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wecloud_im_server
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hewei
wecloud_im_server
Commits
bcbb68a2
Commit
bcbb68a2
authored
Feb 14, 2022
by
hewei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'upay-test' into 'upay-prod'
Upay test See merge request
!24
parents
2c5e7d90
43d9334b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
common/src/main/java/com/wecloud/im/vo/MyConversationListVo.java
+3
-0
common/src/main/resources/mapper/ImConversationMapper.xml
+4
-1
No files found.
common/src/main/java/com/wecloud/im/vo/MyConversationListVo.java
View file @
bcbb68a2
...
...
@@ -52,6 +52,9 @@ public class MyConversationListVo implements Serializable {
@ApiModelProperty
(
"成员"
)
private
String
members
;
@ApiModelProperty
(
"成员数量"
)
private
Integer
memberCount
;
@ApiModelProperty
(
"会话最后一条消息"
)
private
OfflineMsgDto
lastMsg
;
...
...
common/src/main/resources/mapper/ImConversationMapper.xml
View file @
bcbb68a2
...
...
@@ -37,7 +37,10 @@
FROM im_conversation_members AS im_conversation_members
INNER JOIN im_client AS im_client ON im_client.id = im_conversation_members.fk_client_id
WHERE im_conversation_members.fk_conversation_id = imConversation.id
) AS members
) AS members,
(SELECT COUNT(*)
FROM im_conversation_members
WHERE fk_conversation_id = imConversation.id) AS memberCount
FROM im_conversation_members AS imConversationMembers
INNER JOIN im_conversation AS imConversation
ON imConversation.id = imConversationMembers.fk_conversation_id
...
...
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