From 1496a2640408f000f31e01ebe90b5ef97237f5a1 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期二, 19 八月 2025 19:42:46 +0800 Subject: [PATCH] 修改婚姻bug && 管理员修改用户信息时 同步修改用户姓名、性别、婚姻状态 --- ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/PermissionService.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/PermissionService.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/PermissionService.java index b1dd52e..c0c391b 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/PermissionService.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/web/service/PermissionService.java @@ -1,6 +1,8 @@ package com.ruoyi.framework.web.service; import java.util.Set; + +import com.ruoyi.framework.web.domain.server.Sys; import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; import com.ruoyi.common.core.domain.entity.SysRole; @@ -165,6 +167,7 @@ private boolean hasPermissions(Set<String> permissions, String permission) { + System.out.println("33333467878"); return permissions.contains(ALL_PERMISSION) || permissions.contains(StringUtils.trim(permission)); } } -- Gitblit v1.9.1