【修复】修复getUserByIdWithoutException的逻辑判断错误
This commit is contained in:
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…
x
Reference in New Issue
Block a user