|
@@ -652,7 +652,9 @@ func refreshUserStaticTable(wikiCountMap map[string]int, tableName string, pageS |
|
|
dateRecordBatch = make([]UserBusinessAnalysisAll, 0) |
|
|
dateRecordBatch = make([]UserBusinessAnalysisAll, 0) |
|
|
} |
|
|
} |
|
|
if tableName == "user_business_analysis_all" { |
|
|
if tableName == "user_business_analysis_all" { |
|
|
if getUserActivateAll(dateRecordAll) > 0 { |
|
|
|
|
|
|
|
|
tValue := getUserActivateAll(dateRecordAll) |
|
|
|
|
|
if tValue > 0 { |
|
|
|
|
|
log.Info("dateRecordAll name=" + dateRecordAll.Name + " value=" + fmt.Sprint(tValue)) |
|
|
userMetrics["TotalHasActivityUser"] = getMapKeyStringValue("TotalHasActivityUser", userMetrics) + 1 |
|
|
userMetrics["TotalHasActivityUser"] = getMapKeyStringValue("TotalHasActivityUser", userMetrics) + 1 |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|