|
|
|
@@ -22,7 +22,7 @@ type UserBusinessAnalysis struct { |
|
|
|
//action :ActionCommitRepo // 5 |
|
|
|
CommitCount int `xorm:"NOT NULL DEFAULT 0"` |
|
|
|
|
|
|
|
//action :ActionCommentIssue // 10 |
|
|
|
//action :ActionCreateIssue // 10 |
|
|
|
IssueCount int `xorm:"NOT NULL DEFAULT 0"` |
|
|
|
|
|
|
|
//comment table current date |
|
|
|
@@ -273,7 +273,7 @@ func CounDataByDateAndReCount(wikiCountMap map[string]int, startTime time.Time, |
|
|
|
DataDate := startTime.Format("2006-01-02") |
|
|
|
CodeMergeCountMap := queryPullRequest(start_unix, end_unix) |
|
|
|
CommitCountMap := queryAction(start_unix, end_unix, 5) |
|
|
|
IssueCountMap := queryAction(start_unix, end_unix, 10) |
|
|
|
IssueCountMap := queryAction(start_unix, end_unix, 6) |
|
|
|
|
|
|
|
CommentCountMap := queryComment(start_unix, end_unix) |
|
|
|
FocusRepoCountMap := queryWatch(start_unix, end_unix) |
|
|
|
|