修复历史记录等外显信息

This commit is contained in:
2026-07-24 15:49:35 +08:00
parent e8ba97bc9d
commit 47e4359eda
5 changed files with 14 additions and 10 deletions

View File

@@ -85,7 +85,7 @@ def get_report_history():
# 查询数据
history = execute_query(
f'SELECT * FROM t_daily_report_history WHERE {where_sql} ORDER BY create_time DESC LIMIT %s OFFSET %s',
f'SELECT *, total_amount AS total_degree FROM t_daily_report_history WHERE {where_sql} ORDER BY create_time DESC LIMIT %s OFFSET %s',
tuple(params) + (page_size, offset)
)