mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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);
}