mirror of https://gitee.com/xiaonuobase/snowy
【修复】修复getUserByIdWithoutException的逻辑判断错误
parent
700232952f
commit
e4a6b7aad0
|
@ -47,7 +47,7 @@ public class SysUserApiProvider implements SysUserApi {
|
|||
@Override
|
||||
public JSONObject getUserByIdWithoutException(String userId) {
|
||||
SysUser sysUser = sysUserService.getById(userId);
|
||||
if(ObjectUtil.isEmpty(sysUser)) {
|
||||
if(ObjectUtil.isNotEmpty(sysUser)) {
|
||||
return JSONUtil.parseObj(sysUser);
|
||||
}
|
||||
return null;
|
||||
|
|
Loading…
Reference in New Issue