bugfix
This commit is contained in:
parent
b55a87c528
commit
59c632f223
@ -11,7 +11,7 @@ async def get_account(sor, accounting_orgid, orgid, subjectid, org1id=None):
|
|||||||
|
|
||||||
sql = """select
|
sql = """select
|
||||||
a.*,
|
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
|
from account a left join acc_balance b
|
||||||
on a.id = b.accountid
|
on a.id = b.accountid
|
||||||
where
|
where
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user