package com.crm.manager.dao.mapper;

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

import java.util.List;

@Repository
public interface UserRoleDetailMapper {

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

    void delete(List<UserRoleDetailTable> tables);
}
