| | |
| | | Integer isConfirm = (Integer) redisUtils.get("confirmContent:" + loginUserInfo.getPhone()); |
| | | List<PermissionsVO> permissions = new ArrayList<>(); |
| | | IdentityInformationVO identityInformationVO = new IdentityInformationVO(); |
| | | identityInformationVO.setIsConfirmContent(isConfirm == 1); |
| | | identityInformationVO.setIsConfirmContent(isConfirm !=null && isConfirm == 1); |
| | | if (partyMember != null) { |
| | | identityInformationVO.setIsFrozen(partyMember.getFreezeStatus() == 1); |
| | | } |
| | |
| | | if (identity == null && systemUser != null) { |
| | | identityInformationVO.setIdentity(2); |
| | | redisUtils.set("identity:" + loginUserInfo.getPhone(), 2); |
| | | } else { |
| | | }else if (identity == null && partyMember != null){ |
| | | identityInformationVO.setIdentity(1); |
| | | redisUtils.set("identity:" + loginUserInfo.getPhone(), 1); |
| | | } |
| | | else { |
| | | identityInformationVO.setIdentity(identity); |
| | | } |
| | | |
| | | if (identityInformationVO.getIdentity() != null){ |
| | | if (identityInformationVO.getIdentity() == 1){ |
| | | identityInformationVO.setIsFrozen(partyMember !=null && partyMember.getFreezeStatus() == 1); |
| | | }else if (identityInformationVO.getIdentity() == 2){ |
| | | identityInformationVO.setIsFrozen(systemUser != null &&systemUser.getStatus() == 2); |
| | | } |
| | | }else { |
| | | identityInformationVO.setIsFrozen(false); |
| | | } |
| | | |
| | | |
| | | |
| | | identityInformationVO.setIsPartymember(partyMember != null && partyMember.getAuditStatus().equals(1)); |
| | | identityInformationVO.setIsConfirm(partyMember != null && partyMember.getIsConfirm() == 1); |
| | | identityInformationVO.setAuditStatus(partyMember == null ? null : partyMember.getAuditStatus()); |