package com.goafanti.common.dao; import java.util.List; import java.util.Set; import com.goafanti.common.model.Role; import com.goafanti.permission.bo.RolePermissionBo; public interface RoleMapper { int deleteByPrimaryKey(String id); int insert(Role record); int insertSelective(Role record); Role selectByPrimaryKey(String id); int updateByPrimaryKeySelective(Role record); int updateByPrimaryKey(Role record); Set findRoleByUserId(String userId); List findRolePermissions(); int insertBatch(List records); int deleteByPrimaryKeys(List records); List findRolePermissionsExceptAreaManager(); List findRoles(); List selectRolePList(String id); int selectCountByRoleId(List records); }