This commit is contained in:
yumoqing 2026-01-06 16:32:47 +08:00
parent 85b4f7f4ac
commit ff7c393447

View File

@ -70,8 +70,8 @@ async def getAccountBalance(sor, accounting_orgid, orgid, subjectname, org1id):
acc = await getAccountByName(sor, accounting_orgid,
orgid,
subjectname,org1id)
if accid is None:
debug(f'accid is None, {accounting_orgid=}, {orgid=}, {subjectname=}')
if acc is None:
debug(f'accid is None, {accounting_orgid=}, {orgid=}, {subjectname=}, {org1id=}')
return None
return acc.balance