package com.crm.manager.dao.mapper;

import com.crm.rely.backend.core.pojo.table.SysNodeTable;
import com.crm.rely.backend.core.pojo.table.UserRoleNodeTable;
import com.crm.rely.backend.core.pojo.view.SysNodeView;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserRoleNodeMapper {

    List<UserRoleNodeTable> findAllByRoleId(@Param("roleId") Long roleId);

    void delete(List<UserRoleNodeTable> tables);
}
