package com.panzhihua.service_user.dao;
|
|
import java.util.List;
|
|
import org.apache.ibatis.annotations.Mapper;
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.panzhihua.common.model.vos.MenuVO;
|
import com.panzhihua.service_user.model.dos.SysRoleDO;
|
|
/**
|
* @program: springcloud_k8s_panzhihuazhihuishequ
|
* @description: 角色
|
* @author: huang.hongfa weixin hhf9596 qq 959656820
|
* @create: 2020-11-24 16:34
|
**/
|
@Mapper
|
public interface RoleDAO extends BaseMapper<SysRoleDO> {
|
|
List<SysRoleDO> selectByUserId(Long userId);
|
|
|
List<MenuVO> selectAllMenuUrl();
|
|
|
List<String> selectRoles(String username);
|
|
|
Long selectMaxRole(Long communityId);
|
|
|
void deleteByRoleKey(@RequestParam("roleKey") String roleKey);
|
}
|