|
@@ -162,7 +162,7 @@ func GetSonUserDailyActivity(engine *xorm.Engine, fatherUID int64, startDate, en |
|
|
|
|
|
|
|
|
activityDb := implement.NewEggEnergyUserActivityDb(engine) |
|
|
activityDb := implement.NewEggEnergyUserActivityDb(engine) |
|
|
// 先判断这些用户中是否有活跃用户,如果有再逐个统计 |
|
|
// 先判断这些用户中是否有活跃用户,如果有再逐个统计 |
|
|
activityCount, err = activityDb.UserDailyActivityAnalysisFindByUidAndTime(startDate, endDate, userIDs) |
|
|
|
|
|
|
|
|
activityCount, err = activityDb.UserDailyActivityAnalysisCountByUidAndTime(startDate, endDate, userIDs...) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return 0, 0, nil, zhios_order_relate_logx.Error(err) |
|
|
return 0, 0, nil, zhios_order_relate_logx.Error(err) |
|
|
} |
|
|
} |
|
|