|
|
@@ -284,7 +284,7 @@ public class ArticleTweetImplDao implements ArticleTweetDao {
|
|
|
String sql = "select id,comment_parent_id as parent_id,comment_id as user_id,comment_name as user_name,comment_image as image,content,create_date as date " +
|
|
|
"from article_comment " +
|
|
|
"where article_id = :articleId and comment_parent_id = 0 " +
|
|
|
- "ORDER BY create_date desc limit 0,3";
|
|
|
+ "ORDER BY create_date desc limit 0,5";
|
|
|
MapSqlParameterSource sps = new MapSqlParameterSource();
|
|
|
sps.addValue("articleId", articleId);
|
|
|
List<ArticleCommentVo> list = null;
|