Browse Source

fix 禁用启用

tags/24080901
liuxinxin 1 year ago
parent
commit
42d77cbee1
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java

+ 2
- 1
pmapi/src/main/java/com/ningdatech/pmapi/user/manage/UserInfoManage.java View File

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


Loading…
Cancel
Save