package org.dromara.im.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus;
import org.dromara.im.domain.ImGroup;
import org.dromara.im.domain.vo.ImGroupVo;

/**
 * 群Mapper接口
 *
 * @author Blue
 * @date 2024-12-22
 */
@Mapper
public interface ImGroupMapper extends BaseMapperPlus<ImGroup, ImGroupVo> {

    @Select("select * from im_group where task_no = #{instanceId}")
    ImGroup selectByTaskNo(String instanceId);
}
