From 0e750b6d3169d051ef3ce976f9fc35164618b941 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 17 Jul 2026 14:41:22 +0800 Subject: [PATCH] debug(accounting): add type logging for billing rows --- wwwroot/billing.dspy | 1 + 1 file changed, 1 insertion(+) diff --git a/wwwroot/billing.dspy b/wwwroot/billing.dspy index d9f426a..0f327c9 100644 --- a/wwwroot/billing.dspy +++ b/wwwroot/billing.dspy @@ -27,6 +27,7 @@ where a.orgid = ${orgid}$ and d.acc_date >= ${start_date}$ and d.acc_date <= ${end_date}$""" 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 修改 stats_ns = {