From 9d65efd71dccdc01942409be68b29b83ec0fa91c Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期五, 11 七月 2025 21:27:53 +0800 Subject: [PATCH] bug修改 --- ruoyi-system/src/main/java/com/ruoyi/system/dto/SysRoleDTO.java | 2 -- ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java | 1 - 2 files changed, 0 insertions(+), 3 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/dto/SysRoleDTO.java b/ruoyi-system/src/main/java/com/ruoyi/system/dto/SysRoleDTO.java index 6aeb9bf..1b03c35 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/dto/SysRoleDTO.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/dto/SysRoleDTO.java @@ -23,8 +23,6 @@ private Integer roleType; @ApiModelProperty(value = "备注") private String remark; - @ApiModelProperty(value = "角色类型 1=项目部 2=部门") - private Integer roleType; @ApiModelProperty(value = "权限id集合") private List<Long> menuIds; diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java index 3d3f218..8ca6b70 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysRoleServiceImpl.java @@ -591,7 +591,6 @@ sysRole.setRoleId(dto.getRoleId()); sysRole.setRoleName(dto.getRoleName()); sysRole.setPostType(dto.getPostType()); - sysRole.setRoleType(dto.getRoleType()); sysRole.setRemark(dto.getRemark()); sysRole.setRoleType(dto.getRoleType()); roleMapper.updateRole(sysRole); -- Gitblit v1.7.1