正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -215,7 +215,7 @@ where user_id =? and (?=0 or id<?) | @@ -215,7 +215,7 @@ where user_id =? and (?=0 or id<?) | ||
215 | )a left outer join chance b on a.source_id = b.id and source_type=1 | 215 | )a left outer join chance b on a.source_id = b.id and source_type=1 |
216 | )a left outer join chance_data b on a.source_id = b.chance_id and source_type = 1 | 216 | )a left outer join chance_data b on a.source_id = b.chance_id and source_type = 1 |
217 | )a left outer join comment b on a.source_id = b.id and a.source_type=2 | 217 | )a left outer join comment b on a.source_id = b.id and a.source_type=2 |
218 | -order by create_at desc | 218 | +order by comment_time desc |
219 | limit ?`) | 219 | limit ?`) |
220 | 220 | ||
221 | sqlCount := `select count(0) from comment | 221 | sqlCount := `select count(0) from comment |
-
请 注册 或 登录 后发表评论