diff --git a/pjcloud-wallet/pjcloud-wallet-biz/src/main/java/com/bsd/pjcloud/wallet/service/impl/thrid/WalletThirdZyServiceImpl.java b/pjcloud-wallet/pjcloud-wallet-biz/src/main/java/com/bsd/pjcloud/wallet/service/impl/thrid/WalletThirdZyServiceImpl.java index 2094b3175..fe4797bef 100644 --- a/pjcloud-wallet/pjcloud-wallet-biz/src/main/java/com/bsd/pjcloud/wallet/service/impl/thrid/WalletThirdZyServiceImpl.java +++ b/pjcloud-wallet/pjcloud-wallet-biz/src/main/java/com/bsd/pjcloud/wallet/service/impl/thrid/WalletThirdZyServiceImpl.java @@ -263,6 +263,7 @@ public class WalletThirdZyServiceImpl implements WalletThirdZyService { if (ObjectUtil.isNotEmpty(wallet) && ObjectUtil.isNotEmpty(wallet.getCardNumber())) { userWallet = wallet; } else { + log.error("|{}|用户创建钱包失败userId|{}|", TAG, v.getUserId()); continue; } } @@ -282,13 +283,15 @@ public class WalletThirdZyServiceImpl implements WalletThirdZyService { try { if (ObjectUtil.isNotEmpty(syncList)) { ZyMerSyncAccountInfoVo.DataVo res = thirdZyService.syncAccountInfoApi(syncList).getData(); - if (ObjectUtil.isEmpty(res)) return 0; + if (ObjectUtil.isEmpty(res)) { + return userVOList.size(); + } } } catch (Exception e) { log.error("|{}syncAllUserGroup 调用第三方接口错误|", TAG); return 0; } - return syncList.size(); + return userVOList.size(); }