From 4c7d6bd5efa91bafbccf75b372a4d6299a56a393 Mon Sep 17 00:00:00 2001
From: zhizhijie <zhizhijie@users.noreply.gitee.com>
Date: 星期日, 13 九月 2026 17:21:34 +0800
Subject: [PATCH] docs: 更正 MySQL 版本事实(服务端 8.0.29、目标机必须 8.0)并用 8.0 客户端重导备份;结构与行数双向还原验证 0 差异
---
traffic-audit-server/src/main/java/com/trafficaudit/reportexport/calc/SummaryWorkbookFiller.java | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/traffic-audit-server/src/main/java/com/trafficaudit/reportexport/calc/SummaryWorkbookFiller.java b/traffic-audit-server/src/main/java/com/trafficaudit/reportexport/calc/SummaryWorkbookFiller.java
index 1abdfca..5cf99d7 100644
--- a/traffic-audit-server/src/main/java/com/trafficaudit/reportexport/calc/SummaryWorkbookFiller.java
+++ b/traffic-audit-server/src/main/java/com/trafficaudit/reportexport/calc/SummaryWorkbookFiller.java
@@ -530,10 +530,9 @@
String f = prev.getCellFormula();
if (f == null || f.isEmpty()) continue;
String shifted = shiftFormulaColumns(f, 2);
- if (target == null) {
- target = row.createCell(yoyCol);
- if (prev.getCellStyle() != null) target.setCellStyle(prev.getCellStyle());
- }
+ if (target == null) target = row.createCell(yoyCol);
+ // 姣嶇増鎶婃柊鏈堜唤鐨勫悓姣斿垪鍋氭垚浜嗘櫘閫氭暟鍊兼牸寮忥紙鏄剧ず鎴愬皬鏁帮級锛岀粺涓�娌跨敤涓婃湀鍚屾瘮鍒楃殑鏍峰紡锛堢櫨鍒嗘暟锛�
+ if (prev.getCellStyle() != null) target.setCellStyle(prev.getCellStyle());
try {
target.setCellFormula(shifted);
written++;
--
Gitblit v1.9.1