From 6a0075bbb7f34205abdd7650409e2f466c469aae Mon Sep 17 00:00:00 2001
From: liujiandao <274878379@qq.com>
Date: 星期五, 19 四月 2024 15:37:33 +0800
Subject: [PATCH] fix

---
 task/month_stats.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/task/month_stats.go b/task/month_stats.go
index 6947b73..ee539ea 100644
--- a/task/month_stats.go
+++ b/task/month_stats.go
@@ -88,7 +88,7 @@
 			inputMoreUnits  string
 			outputMoreUnits string
 		)
-		if product.MoreUnit {
+		if *product.MoreUnit {
 			moreValueArr := make([]models.UnitItems, 0, len(product.MoreUnitList))
 			inputMoreValueArr := make([]models.UnitItems, 0, len(product.MoreUnitList))
 			outputMoreValueArr := make([]models.UnitItems, 0, len(product.MoreUnitList))

--
Gitblit v1.8.0