huliguo
2025-05-30 925219ebfda2a480df99ca06a13033c78ae8d81f
ruoyi-system/src/main/java/com/ruoyi/system/mapper/SysRoleMenuMapper.java
@@ -2,6 +2,9 @@
import java.util.List;
import com.ruoyi.system.domain.SysRoleMenu;
import org.apache.ibatis.annotations.Param;
import javax.validation.constraints.NotEmpty;
/**
 * 角色与菜单关联表 数据层
@@ -41,4 +44,8 @@
     * @return 结果
     */
    public int batchRoleMenu(List<SysRoleMenu> roleMenuList);
    List<Long> selectMenuIdsByRoleIds(@Param("roleList") List<Long> roleList);
    void insert(@Param("roleId") Long roleId, @Param("menuIds") List<Long> menuIds);
}