SysRoleFuncDao.java 614 Bytes
Newer Older
zzrdark committed
1 2 3 4 5 6
package com.mx.cneeds.server.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mx.cneeds.server.entity.SysRoleFuncEntity;
import org.apache.ibatis.annotations.Mapper;

zzrdark committed
7 8
import java.util.List;

zzrdark committed
9 10 11 12 13 14 15 16 17
/**
 * 功能与角色映射表
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2020-01-09 15:09:01
 */
@Mapper
public interface SysRoleFuncDao extends BaseMapper<SysRoleFuncEntity> {
zzrdark committed
18 19 20 21 22 23 24 25
    /**
     * 根据角色ID数组,批量删除
     */
    int deleteBatch(Long[] roleIds);

    /**
     * 根据角色ID,获取菜单ID列表
     */
zzrdark committed
26
    List<Long> queryFuncId(Long roleId);
zzrdark committed
27 28
	
}