diff --git a/internal/tools/bbxt/bbxt.go b/internal/tools/bbxt/bbxt.go index 63333df..ee8ddbf 100644 --- a/internal/tools/bbxt/bbxt.go +++ b/internal/tools/bbxt/bbxt.go @@ -29,6 +29,14 @@ var resellerBlackList = []string{ "通钱-2025年12月", } +var resellerBlackListProduct = []string{ + "悦跑", + "电商-独立", + "蓝星严选连续包月", + "通钱-2025年12月", + "彦浩同行", +} + type BbxtTools struct { cacheDir string excelTempDir string @@ -149,14 +157,14 @@ func (b *BbxtTools) StatisOursProductLossSum(now time.Time) (report []*ReportRes ) // 构建分组 for _, v := range resellers { - if v.Total <= -100 && !slices.Contains(resellerBlackList, v.ResellerName) { + if v.Total <= -100 && !slices.Contains(resellerBlackListProduct, v.ResellerName) { total = append(total, []string{ fmt.Sprintf("%s", v.ResellerName), fmt.Sprintf("%.2f", v.Total), }) totalSum += v.Total } - if v.Total <= -500 && !slices.Contains(resellerBlackList, v.ResellerName) { + if v.Total <= -500 && !slices.Contains(resellerBlackListProduct, v.ResellerName) { gt = append(gt, v) totalSum500 += v.Total }