debug(accounting): add type logging for billing rows
This commit is contained in:
parent
91609f3606
commit
0e750b6d31
@ -27,6 +27,7 @@ where a.orgid = ${orgid}$
|
|||||||
and d.acc_date >= ${start_date}$
|
and d.acc_date >= ${start_date}$
|
||||||
and d.acc_date <= ${end_date}$"""
|
and d.acc_date <= ${end_date}$"""
|
||||||
rows = await sor.sqlExe(sql, ns)
|
rows = await sor.sqlExe(sql, ns)
|
||||||
|
debug(f'billing rows type={type(rows).__name__}, is_list={isinstance(rows, list)}, len={len(rows) if isinstance(rows, list) else "N/A"}')
|
||||||
|
|
||||||
# 统计数据 — 独立 ns 避免被 sqlor 修改
|
# 统计数据 — 独立 ns 避免被 sqlor 修改
|
||||||
stats_ns = {
|
stats_ns = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user