package com.goafanti.common.dao;

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

import com.goafanti.common.model.RolePermission;

public interface RolePermissionMapper {
    int insert(RolePermission record);

	void deleteByPermissionId(List<String> ids);

	void deleteByRids(Map<String, Object> resultMap);

	List<RolePermission> findRolePermissionByPid(String idx);

	void deleteByRid(String roleId);

	void deleteByRoleId(List<String> records);

	int deleteByPrimaryKey(Map<String, Object> params);

	int insertBatch(List<RolePermission> rps);
}