package com.czg.service.account.mapper;

import com.czg.account.entity.SysRolesMenus;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 角色菜单关联 映射层。
 *
 * @author Administrator
 * @since 2025-02-10
 */
public interface SysRolesMenusMapper extends BaseMapper<SysRolesMenus> {

    void saveByTemplate(
            @Param("roleId") Long roleId,
            @Param("rolesMenus") List<SysRolesMenus> rolesMenus
    );
}
