fix: 优化销售分析数据处理逻辑
This commit is contained in:
parent
08c2094940
commit
62d22c1405
|
|
@ -636,12 +636,12 @@ func (d *DingTalkBotBiz) GetReportLists(ctx context.Context, group *model.AiBotG
|
|||
}
|
||||
|
||||
// 追加电商充值系统统计 - 返回统一使用 []*bbxt.ReportRes
|
||||
rechargeReports, err := d.rechargeDailyReport(ctx, time.Now(), product, d.ossClient)
|
||||
if err != nil || len(rechargeReports) == 0 {
|
||||
return
|
||||
}
|
||||
|
||||
reports = append(reports, rechargeReports...)
|
||||
//rechargeReports, err := d.rechargeDailyReport(ctx, time.Now(), product, d.ossClient)
|
||||
//if err != nil || len(rechargeReports) == 0 {
|
||||
// return
|
||||
//}
|
||||
//
|
||||
//reports = append(reports, rechargeReports...)
|
||||
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue