package com.zioinfo.cms.uiws.system.mapper;

import com.zioinfo.cms.uiws.system.model.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

/** 권한-메뉴 매핑(tb_uiws_role_menu) 매퍼. 원본 RoleMenuRepository 변환. */
@Mapper
public interface RoleMenuMapper {
    List<SysRoleMenu> findByRoleId(@Param("roleId") String roleId);
    boolean existsByMenuId(@Param("menuId") String menuId);
    int insert(SysRoleMenu rm);
    int deleteByRoleId(@Param("roleId") String roleId);
}
