diff --git a/src/postprocessing/report_word.py b/src/postprocessing/report_word.py index 0c2391f..07485d0 100644 --- a/src/postprocessing/report_word.py +++ b/src/postprocessing/report_word.py @@ -1724,7 +1724,11 @@ class WaterQualityReportGenerator: row_cells = table.add_row().cells for j, (col_name, hdr_name) in enumerate(header_map.items()): row_cells[j].text = str(row_dict.get(col_name, '')) - stats_data = [{'参数': r['参数'], '点位数': r['数量']} for r in stats_rows] + stats_data = [{ + '参数': r['参数'], '点位数': r['数量'], + '最小值': str(r['最小值']), '最大值': str(r['最大值']), + '平均值': str(r['平均值']), '标准差': str(r['标准差']), + } for r in stats_rows] else: # ML 模式:逐列统计 stats_data = []