This commit is contained in:
dzc committed 2025-03-23 14:24:34 +08:00
1 parent 1123d1e3e1
commit 24e756dae5
1 file changed
+5 -2
@@ -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();
}