updates
This commit is contained in:
parent
b84b6e4f63
commit
597a5093d0
|
|
@ -67,7 +67,8 @@ public class SysUserOnlineController {
|
|||
//验证用户名是否与传过来的用户名相同
|
||||
boolean isMatchUsername=true;
|
||||
//判断用户名是否为空,并且当前循环的用户不包含传过来的用户名,那么就设成false
|
||||
if((oConvertUtils.isNotEmpty(username) && !loginUser.getUsername().contains(username)) || (oConvertUtils.isNotEmpty(loginUser.getPhone()) && !loginUser.getPhone().contains(phone))){
|
||||
|
||||
if((oConvertUtils.isNotEmpty(username) && !loginUser.getUsername().contains(username)) || (oConvertUtils.isNotEmpty(phone) && !phone.equals(loginUser.getPhone()))){
|
||||
isMatchUsername = false;
|
||||
}
|
||||
if(isMatchUsername){
|
||||
|
|
|
|||
Loading…
Reference in New Issue