package com.huimv.beeboxs.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.huimv.beeboxs.common.utils.Result;
import com.huimv.beeboxs.entity.Group;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author astupidcoder
 * @since 2021-09-09
 */
public interface IGroupService extends IService<Group> {

    Result updateGroup(Group group);

    Result removeGroup(Integer groupId);

    IPage<Group> listGroup(Map map, List<Integer> allChildId);

    Result addGroup(Group group, Integer userId);
}
