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; } }