!55 修复在线用户判断逻辑

Merge pull request !55 from 心悦李国楠/dev-心悦
duhanyu
若依 4 years ago committed by Gitee
commit 98982515f7

@ -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…
Cancel
Save