From bee35125ec550ebca73e3119863252b12ec63a49 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 3 Jun 2024 18:21:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/svc/order/svc_order_list.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/admin/svc/order/svc_order_list.go b/app/admin/svc/order/svc_order_list.go index 9d5f026..9e8f5fe 100644 --- a/app/admin/svc/order/svc_order_list.go +++ b/app/admin/svc/order/svc_order_list.go @@ -627,6 +627,8 @@ func OrderOutput(c *gin.Context) { xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{ inSideName + " 汇总: " + utils.IntToStr(total), }) + xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{}) + xlsx.SetRowHeight("Sheet1", j, 20) j++ } @@ -755,6 +757,7 @@ func OrderGoodsOutput(c *gin.Context) { xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{ title + " 汇总: " + utils.IntToStr(total), }) + xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{}) xlsx.SetRowHeight("Sheet1", j, 20) j++ }