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 = {