修复在线用户判断逻辑
This commit is contained in:
parent
8b5d254242
commit
de2ac66f0b
@ -75,7 +75,7 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService
|
|||||||
@Override
|
@Override
|
||||||
public SysUserOnline loginUserToUserOnline(LoginUser user)
|
public SysUserOnline loginUserToUserOnline(LoginUser user)
|
||||||
{
|
{
|
||||||
if (StringUtils.isNull(user) && StringUtils.isNull(user.getUser()))
|
if (StringUtils.isNull(user) || StringUtils.isNull(user.getUser()))
|
||||||
{
|
{
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user