From 8fea74b9e900f715a5c962c7be531a1028fb3811 Mon Sep 17 00:00:00 2001 From: "jiaji.H" Date: Mon, 15 Dec 2025 16:13:03 +0800 Subject: [PATCH] =?UTF-8?q?Updata=EF=BC=9A=E6=9B=B4=E6=96=B0=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/service/bundle/bundleMetrics.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/service/bundle/bundleMetrics.go b/pkg/service/bundle/bundleMetrics.go index 0d3e062..2b719c0 100644 --- a/pkg/service/bundle/bundleMetrics.go +++ b/pkg/service/bundle/bundleMetrics.go @@ -125,8 +125,8 @@ func MetricsBundlePurchaseExport(ctx *gin.Context) { } // 应用样式到合计区域(包括标题行和数值行) - startCell := fmt.Sprintf("A%d", endRow) - endCell := fmt.Sprintf("C%d", endRow+1) + startCell := fmt.Sprintf("A%d", endRow+1) + endCell := fmt.Sprintf("C%d", endRow+2) if err := f.SetCellStyle(sheet, startCell, endCell, borderStyle); err != nil { fmt.Println("设置边框样式失败:", err) }