package com.tzld.piaoquan.api.dao.mapper.wecom.thirdpart.ext;

import com.tzld.piaoquan.api.model.param.wecom.thirdpart.ThirdPartyRoomListParam;
import com.tzld.piaoquan.api.model.po.wecom.thirdpart.ThirdPartWeComRoom;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ThirdPartWeComRoomMapperExt {

    int getRoomCount(@Param("param") ThirdPartyRoomListParam param,
                     @Param("pushAccountIds") List<Long> pushAccountIds);

    List<ThirdPartWeComRoom> getRoomList(@Param("param") ThirdPartyRoomListParam param,
                                         @Param("pushAccountIds") List<Long> pushAccountIds,
                                         @Param("offset") int offset, @Param("pageSize") Integer pageSize);

    List<ThirdPartWeComRoom> getNoConfigRoomList(@Param("staffId") Long id);

}
