|
@@ -2,6 +2,7 @@ package com.yonge.cooleshow.biz.dal.dao;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
import com.yonge.cooleshow.biz.dal.entity.ImGroupMember;
|
|
|
+import com.yonge.cooleshow.biz.dal.enums.ClientEnum;
|
|
|
import com.yonge.cooleshow.biz.dal.enums.ImGroupMemberRoleType;
|
|
|
import io.rong.models.group.GroupMember;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
@@ -46,7 +47,7 @@ public interface ImGroupMemberDao extends BaseMapper<ImGroupMember> {
|
|
|
@Param("userIds") Set<Long> userIds,
|
|
|
@Param("roleType") String roleType);
|
|
|
|
|
|
- ImGroupMember findByUserIdAndGroupId(@Param("userId") Long userId, @Param("groupId") String groupId);
|
|
|
+ ImGroupMember findByUserIdAndGroupId(@Param("userId") Long userId, @Param("groupId") String groupId, @Param("clientType") ClientEnum clientType);
|
|
|
|
|
|
//删除群成员
|
|
|
int delByGroupIdAndUserId(@Param("groupId") String groupId, @Param("userId") Long userId, @Param("roleType") ImGroupMemberRoleType roleType);
|