diff --git a/models/user_business_analysis.go b/models/user_business_analysis.go index 99b4cb567..24177371e 100644 --- a/models/user_business_analysis.go +++ b/models/user_business_analysis.go @@ -2107,6 +2107,7 @@ func queryUserCreateRepo(start_unix int64, end_unix int64) (map[int64]int, map[s detailInfoMap[key] = getMapKeyStringValue(key, detailInfoMap) + int(repoRecord.CloneCnt) key = fmt.Sprint(repoRecord.OwnerID) + "_most_download" + log.Info("git clone count =" + fmt.Sprint(repoRecord.CloneCnt) + " key=" + key) if int(repoRecord.CloneCnt) > getMapKeyStringValue(key, detailInfoMap) { detailInfoMap[key] = int(repoRecord.CloneCnt) mostDownloadMap[repoRecord.OwnerID] = repoRecord.DisplayName()