From 08f1b1f1804a8bd833d42f257908d80e88387b55 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期五, 14 三月 2025 11:27:47 +0800 Subject: [PATCH] 3.5增加登录验证、修改密码、人员列表调整 --- 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