From c4b9d130cb0aa98f4b65a987b11fc5c2bea3a1c7 Mon Sep 17 00:00:00 2001
From: yinbentan <yinbentan@live.com>
Date: 星期三, 03 七月 2024 10:37:25 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/jialian' into jialian

---
 service/warehouse_month_forms.go |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/service/warehouse_month_forms.go b/service/warehouse_month_forms.go
index 9edf8c4..a4d4838 100644
--- a/service/warehouse_month_forms.go
+++ b/service/warehouse_month_forms.go
@@ -243,8 +243,12 @@
 
 func GetDealerItems(m map[string]decimal.Decimal) (items []*models.WarehouseStatsItems) {
 	for k, v := range m {
+		name := k
+		if name == "" {
+			name = "鍏朵粬"
+		}
 		items = append(items, &models.WarehouseStatsItems{
-			Name:   k,
+			Name:   name,
 			Amount: v,
 		})
 	}

--
Gitblit v1.8.0