diff --git a/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java b/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java index 6425fb7..b0a3237 100644 --- a/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java +++ b/pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java @@ -90,8 +90,9 @@ public class UserInfoManage { if (StringUtils.isNotBlank(userInfo.getAvailable()) && UserAvailableEnum.ENABLE.name().equals(userInfo.getAvailable())) { resListVO.setStatus(UserAvailableEnum.ENABLE.name()); + } else { + resListVO.setStatus(UserAvailableEnum.DISABLE.name()); } - resListVO.setStatus(UserAvailableEnum.DISABLE.name()); resListVO.setUserId(userInfo.getId()); } else { resListVO.setStatus(UserAvailableEnum.DISABLE.name());