【修复】修复getUserByIdWithoutException的逻辑判断错误

pull/87/head
xuyuxiang 2023-03-09 16:05:54 +08:00
parent 700232952f
commit e4a6b7aad0
1 changed files with 1 additions and 1 deletions

View File

@ -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;