Hide unaccounted data from report (still calculated internally)

This commit is contained in:
2025-12-29 01:50:12 +08:00
parent 9411794773
commit 00baaf4b28

View File

@@ -145,8 +145,6 @@ class DailyReportGenerator:
# 月度统计 # 月度统计
lines.append(f"当月计划作业量:{monthly_data['planned']}TEU (用天数*{self.DAILY_TARGET}TEU)") lines.append(f"当月计划作业量:{monthly_data['planned']}TEU (用天数*{self.DAILY_TARGET}TEU)")
if monthly_data.get('unaccounted', 0) > 0:
lines.append(f"当月未统计数据:{monthly_data['unaccounted']}TEU")
lines.append(f"当月实际作业量:{monthly_data['actual']}TEU") lines.append(f"当月实际作业量:{monthly_data['actual']}TEU")
lines.append(f"当月完成比例:{monthly_data['completion']}%") lines.append(f"当月完成比例:{monthly_data['completion']}%")
lines.append("") lines.append("")