From 08eefab8f0b04018dc62928ec2191bcae9d3e7d0 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期五, 15 十月 2021 16:25:01 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/test' into test --- springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/RoleDAO.java | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/RoleDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/RoleDAO.java new file mode 100644 index 0000000..b3fef7d --- /dev/null +++ b/springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/dao/RoleDAO.java @@ -0,0 +1,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); +} -- Gitblit v1.7.1