Browse Source

Merge branch 'V20220718' into gpu-inference

pull/2485/head
zhoupzh 2 years ago
parent
commit
91760eaad7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/user_analysis_for_activity.go

+ 1
- 1
models/user_analysis_for_activity.go View File

@@ -316,7 +316,7 @@ func queryCommentPublic(start_unix int64, end_unix int64, publicRepoIssueIdMap m
var indexTotal int64
indexTotal = 0
for {
sess.Select("id,type,poster_id").Table("comment").Where(cond).OrderBy("id asc").Limit(PAGE_SIZE, int(indexTotal))
sess.Select("id,type,poster_id,issue_id").Table("comment").Where(cond).OrderBy("id asc").Limit(PAGE_SIZE, int(indexTotal))
commentList := make([]*Comment, 0)
sess.Find(&commentList)
log.Info("query Comment size=" + fmt.Sprint(len(commentList)))


Loading…
Cancel
Save