fix: 调整销售分析黑名单过滤逻辑
This commit is contained in:
parent
877403fc97
commit
8d9794a93c
|
|
@ -140,7 +140,7 @@ func (b *BbxtTools) StatisOursProductLossSum(now time.Time) (report []*ReportRes
|
||||||
)
|
)
|
||||||
// 构建分组
|
// 构建分组
|
||||||
for _, v := range resellers {
|
for _, v := range resellers {
|
||||||
if v.Total <= -100 {
|
if v.Total <= -100 && !slices.Contains(resellerBlackList, v.ResellerName) {
|
||||||
total = append(total, []string{
|
total = append(total, []string{
|
||||||
fmt.Sprintf("%s", v.ResellerName),
|
fmt.Sprintf("%s", v.ResellerName),
|
||||||
fmt.Sprintf("%.2f", v.Total),
|
fmt.Sprintf("%.2f", v.Total),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue