|
|
@@ -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))) |
|
|
|