package com.landtool.lanbase.modules.sys.dao; import com.landtool.lanbase.modules.sys.entity.SysRoleGroup; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; import java.util.Map; @Mapper @Repository public interface SysRoleGroupDao extends BaseDao { List getGroupIdsByRoleId(Long roleId); //角色管理 - 群组设置 List> findList(Map map); int findTotal(Map map); void deleteBatchByRoleIdAndGroupIds(@Param(value = "roleId") Long roleId,@Param(value = "groupIds") Long[] groupIds); void deleteBatchByGroupId(Long[] groupids); //群组管理 - 角色设置 List> findRoleList(Map map); //群组管理 - 角色设置 总数 int findRoleTotal(Map map); List getRoleIdsByGroupId(Long groupId); }