fix: 调整销售分析黑名单过滤逻辑

This commit is contained in:
renzhiyuan 2025-12-31 18:12:55 +08:00
parent 877403fc97
commit 8d9794a93c
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ func (b *BbxtTools) StatisOursProductLossSum(now time.Time) (report []*ReportRes
)
// 构建分组
for _, v := range resellers {
if v.Total <= -100 {
if v.Total <= -100 && !slices.Contains(resellerBlackList, v.ResellerName) {
total = append(total, []string{
fmt.Sprintf("%s", v.ResellerName),
fmt.Sprintf("%.2f", v.Total),