platformbiz/wwwroot/open_owner_accounts.dspy
2025-01-21 19:39:05 +08:00

7 lines
177 B
Plaintext

db = DBPools()
dbname = await rfexe('get_module_dbname', 'accounting')
async with db.sqlorContext(dbname) as sor:
await openOwnerAccounts(sor, '0')
return 'OK'
return 'error'