package com.gic.haoban.manage.service.service.chat;

import com.gic.api.base.commons.BasePageInfo;
import com.gic.api.base.commons.Page;
import com.gic.haoban.manage.api.dto.chat.GroupChatUserDTO;
import com.gic.haoban.manage.api.dto.qdto.chat.GroupChatUserSearchQDTO;
import com.gic.haoban.manage.service.entity.chat.TabGroupChatUser;
import com.gic.haoban.manage.service.pojo.bo.chat.GroupChatUserBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GroupChatUserService {

    Page<GroupChatUserDTO> listPage(GroupChatUserSearchQDTO qdto, BasePageInfo basePageInfo);

    /**
     * 查询群组内群成员
     */
    List<GroupChatUserBO> queryGroupMemberWithChatId(String enterpriseId, String wxEnterpriseId, Long groupChatId);


    /**
     * 判断会员是否进过群
     * @param enterpriseId
     * @param memberId
     * @return
     */
    List<TabGroupChatUser> getByMember(String enterpriseId , String memberId) ;

    int isAddGroupChat(String enterpriseId, String memberId);


}