Browse Source

增加打印。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.1
zouap 3 years ago
parent
commit
292fc10880
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

@@ -322,7 +322,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