package com.huiju.estateagents.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huiju.estateagents.entity.TaRoleMenu;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 角色菜单表  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2019-09-11
 */
@Mapper
public interface TaRoleMenuMapper extends BaseMapper<TaRoleMenu> {

    /**
     * 先删除再添加
     * @param roleId
     */
    void deleteCurrentMenu(Integer roleId);
}
