Commit a85f69c4 by 罗长华

修复转移群主失败的问题

parent 261096e8
...@@ -355,7 +355,7 @@ public class ImGroupServiceImpl implements ImGroupService { ...@@ -355,7 +355,7 @@ public class ImGroupServiceImpl implements ImGroupService {
// 获取新群主 // 获取新群主
ImConversationMembers newGroupOwner = ImConversationMembers newGroupOwner =
conversationMembersService.getOne(Wrappers.<ImConversationMembers>lambdaQuery().eq(ImConversationMembers::getFkConversationId, conversationMembersService.getOne(Wrappers.<ImConversationMembers>lambdaQuery().eq(ImConversationMembers::getFkConversationId,
conversation.getId()).eq(ImConversationMembers::getFkClientId, newGroupOwnerUserId)); conversation.getId()).eq(ImConversationMembers::getClientId, newGroupOwnerUserId));
if (newGroupOwner == null) { if (newGroupOwner == null) {
throw new BusinessException("新群主不在该群中"); throw new BusinessException("新群主不在该群中");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment