diff --git a/app/admin/svc/order/svc_order_list.go b/app/admin/svc/order/svc_order_list.go index 9e8f5fe..ea17d54 100644 --- a/app/admin/svc/order/svc_order_list.go +++ b/app/admin/svc/order/svc_order_list.go @@ -203,6 +203,9 @@ func OrderExport(c *gin.Context) { }) xlsx.SetRowHeight("Sheet1", j, 20) j++ + xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{}) + xlsx.SetRowHeight("Sheet1", j, 20) + j++ } } xlsx.DeleteSheet("template") //删除模板表 @@ -627,8 +630,9 @@ func OrderOutput(c *gin.Context) { xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{ inSideName + " 汇总: " + utils.IntToStr(total), }) + xlsx.SetRowHeight("Sheet1", j, 20) + j++ xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{}) - xlsx.SetRowHeight("Sheet1", j, 20) j++ } @@ -757,6 +761,8 @@ func OrderGoodsOutput(c *gin.Context) { xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{ title + " 汇总: " + utils.IntToStr(total), }) + xlsx.SetRowHeight("Sheet1", j, 20) + j++ xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{}) xlsx.SetRowHeight("Sheet1", j, 20) j++ diff --git a/app/admin/svc/svc_data_statisstics.go b/app/admin/svc/svc_data_statisstics.go index da3d75a..aa497bc 100644 --- a/app/admin/svc/svc_data_statisstics.go +++ b/app/admin/svc/svc_data_statisstics.go @@ -111,6 +111,8 @@ func DataStatisticsExport(req md.DataStatisticsExportReq) { xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{ k + " 汇总: " + utils.IntToStr(total), }) + xlsx.SetRowHeight("Sheet1", j, 20) + j++ xlsx.SetSheetRow("Sheet1", "A"+strconv.Itoa(j), &[]interface{}{}) xlsx.SetRowHeight("Sheet1", j, 20) j++