修改聊天室功能
This commit is contained in:
parent
82d48a1800
commit
681de5866a
|
@ -43,7 +43,7 @@ public class ChatConversationServiceImpl extends ServiceImpl<ChatConversationDao
|
|||
if(chatConversation!=null){
|
||||
return chatConversation;
|
||||
}
|
||||
return baseMapper.selectOne(new QueryWrapper<ChatConversation>().eq("focused_user_id", userId).eq("user_id", focusedUserId));
|
||||
return baseMapper.selectOne(new QueryWrapper<ChatConversation>().eq("focused_user_id", focusedUserId).eq("user_id", userId));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<if test="null != userId and '' != userId">
|
||||
user_id,
|
||||
</if>
|
||||
<if test="null != focusedUserId and '' != focusedUserId">
|
||||
<if test="null != focusedUserId">
|
||||
focused_user_id,
|
||||
</if>
|
||||
<if test="null != status and '' != status">
|
||||
|
@ -51,7 +51,7 @@
|
|||
<if test="null != userId and '' != userId">
|
||||
#{userId},
|
||||
</if>
|
||||
<if test="null != focusedUserId and '' != focusedUserId">
|
||||
<if test="null != focusedUserId">
|
||||
#{focusedUserId},
|
||||
</if>
|
||||
<if test="null != status and '' != status">
|
||||
|
|
Loading…
Reference in New Issue