Commit f8a22731 authored by wdy's avatar wdy

查询在线用户

parent 5dba5707
...@@ -59,7 +59,7 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService ...@@ -59,7 +59,7 @@ public class SysUserOnlineServiceImpl implements ISysUserOnlineService
@Override @Override
public SysUserOnline selectOnlineByInfo(String ipaddr, String userName, LoginUser user) public SysUserOnline selectOnlineByInfo(String ipaddr, String userName, LoginUser user)
{ {
if (StringUtils.equals(ipaddr, user.getIpaddr()) && StringUtils.contains(userName, user.getUsername())) if (StringUtils.equals(ipaddr, user.getIpaddr()) && StringUtils.equals(userName, user.getUsername()))
{ {
return loginUserToUserOnline(user); return loginUserToUserOnline(user);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment