From 7d6a328cf0cd4fb75d79dd1f21d67313c27682d1 Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Sat, 4 Jun 2022 11:12:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=9F=AD=E4=BF=A1=E5=8F=91?= =?UTF-8?q?=E9=80=81=E7=AD=96=E7=95=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xkrs/service/impl/FirePointServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/xkrs/service/impl/FirePointServiceImpl.java b/src/main/java/com/xkrs/service/impl/FirePointServiceImpl.java index ad9f871..5b918ef 100644 --- a/src/main/java/com/xkrs/service/impl/FirePointServiceImpl.java +++ b/src/main/java/com/xkrs/service/impl/FirePointServiceImpl.java @@ -430,7 +430,7 @@ public class FirePointServiceImpl implements FirePointService { return false; } for (RelRoleAuthorityEntity administrator : administratorList) { - if (administrator.getUserId() == sysUser.getId()) { + if (administrator.getUserId().intValue() == sysUser.getId().intValue()) { return true; } }