From 42d77cbee1fabe57e14ec73b092dc3f8c608c355 Mon Sep 17 00:00:00 2001 From: liuxinxin Date: Tue, 21 Feb 2023 15:35:35 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E7=A6=81=E7=94=A8=E5=90=AF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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());