| | |
| | | entity.setSessionKey(sessionKey); |
| | | |
| | | entity.setMemberUuid(UUID.getSimpleUUIDString()); |
| | | |
| | | log.info("公司编码={}", apiXcxLoginDto.getCompanyId()); |
| | | if (StrUtil.isNotEmpty(apiXcxLoginDto.getCompanyId())){ |
| | | YHAiCompany aiCompany = yhAiCompanyMapper.selectOne( |
| | | Wrappers.lambdaQuery(YHAiCompany.class) |
| | |
| | | entity.setInviteId(inviteId); |
| | | yhAiMemberMapper.updateById(entity); |
| | | } else { |
| | | if ("1".equals(entity.getAccountStatus())) { |
| | | if (entity.getAccountStatus() == 1) { |
| | | throw new FebsException("账号已停用"); |
| | | } |
| | | entity.setSessionKey(sessionKey); |