From 58bbc7267dfd820ded9bf68b27ffd9f85392e153 Mon Sep 17 00:00:00 2001 From: lzh <1625167628@qq.com> Date: Fri, 24 Oct 2025 17:06:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E4=BB=B7=E4=BF=9D=E7=95=99=E4=B8=A4?= =?UTF-8?q?=E4=BD=8D=E5=B0=8F=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/service/bundle/bundleBalance.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/service/bundle/bundleBalance.go b/pkg/service/bundle/bundleBalance.go index b753b62..8bb13d0 100644 --- a/pkg/service/bundle/bundleBalance.go +++ b/pkg/service/bundle/bundleBalance.go @@ -379,8 +379,8 @@ func writeToExcel(filename string, items []*bundle.BundleBalanceExportItem) erro _ = write(8, float64(it.TotalPayAmount)) _ = write(9, it.Currency) _ = write(10, it.Fee) - _ = write(11, float64(it.BundleVideoUnitPrice)) - _ = write(12, float64(it.IncreaseVideoUnitPrice)) + _ = write(11, fmt.Sprintf("%.2f", it.BundleVideoUnitPrice)) + _ = write(12, fmt.Sprintf("%.2f", it.IncreaseVideoUnitPrice)) // 账号类 _ = write(13, int(it.BundleAccountNumber))