This commit is contained in:
yumoqing 2025-12-27 11:52:48 +08:00
parent b55a87c528
commit 59c632f223

View File

@ -11,7 +11,7 @@ async def get_account(sor, accounting_orgid, orgid, subjectid, org1id=None):
sql = """select
a.*,
case when c.balance is null then 0.00 else c.balance end as balance
case when b.balance is null then 0.00 else b.balance end as balance
from account a left join acc_balance b
on a.id = b.accountid
where