|
@@ -514,7 +514,7 @@ class AccountService:
|
|
|
for v in list(result.account_list or []):
|
|
for v in list(result.account_list or []):
|
|
|
if not hasattr(v, "account_book_id"):
|
|
if not hasattr(v, "account_book_id"):
|
|
|
continue
|
|
continue
|
|
|
- if not hasattr(v, "scene") and v['scene'] != "B2B_TRANS":
|
|
|
|
|
|
|
+ if not hasattr(v, "scene") or v.scene != "B2B_TRANS":
|
|
|
continue
|
|
continue
|
|
|
|
|
|
|
|
account = FundAccountApiDTO.to_alipay_dict(v)
|
|
account = FundAccountApiDTO.to_alipay_dict(v)
|