dev
luotaiqian 2026-08-03 16:53:36 +08:00
parent 8fe973c736
commit 962656f47c
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class SystemRemote {
log.error("addUserIfAbsent find fail:{}", userResponse.getErrMessage()); log.error("addUserIfAbsent find fail:{}", userResponse.getErrMessage());
throw new BizException(userResponse.getErrCode(), userResponse.getErrMessage()); throw new BizException(userResponse.getErrCode(), userResponse.getErrMessage());
} }
if (userResponse.getTotalCount() >= 1) { if (userResponse.isNotEmpty()) {
if (userResponse.getTotalCount() == 1) { if (userResponse.getTotalCount() == 1) {
return userResponse.getData().get(0).getId(); return userResponse.getData().get(0).getId();
} }