package com.gz.mapper.system;

import com.gz.dto.system.MenuRoleDTO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

/**
 * 用户权限关联Mapper
 * @author LiuchangLan
 * @date 2020/9/4 11:57
 */
public interface MenuRoleMapper extends Mapper<MenuRoleDTO> {
    @Delete("delete from tab_menu_role where role_id = #{roleId}")
    Integer deleteByRoleId(Integer roleId);
}
