diff --git a/accounting/getaccount.py b/accounting/getaccount.py index 2604ac0..eae9372 100644 --- a/accounting/getaccount.py +++ b/accounting/getaccount.py @@ -43,11 +43,8 @@ async def getAccountByName(sor, accounting_orgid, orgid, name, org1id): }); if len(recs) == 0: return None - return get_account(sor, accounting_orgid, orgid, recs[0].id, org1id=org1id) + return await get_account(sor, accounting_orgid, orgid, recs[0].id, org1id=org1id) -async def getTransPayMode(): - pass - async def getCustomerBalance(sor, customerid): name = '客户资金账户' get_owner_orgid = get_serverenv('get_owner_orgid')