修正异常账户流水返回账号覆盖

This commit is contained in:
wkc
2026-03-31 20:58:44 +08:00
parent 09b4cfe3c4
commit 5de46eabc5
4 changed files with 102 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ class StatementService:
"""将解析出的主绑定统一回填到已有流水记录。"""
for statement in statements:
statement["leName"] = primary_enterprise_name
statement["accountMaskNo"] = primary_account_no
statement["accountMaskNo"] = statement.get("accountMaskNo") or primary_account_no
def get_bank_statement(self, request: Union[Dict, object]) -> Dict:
"""获取银行流水列表。"""