|
@ -106,7 +106,7 @@ public class ZjxlArticleContentService extends BaseService {
|
|
if (systemDictType != null && systemDictType > 0){
|
|
if (systemDictType != null && systemDictType > 0){
|
|
sql += " and article_content_type = "+systemDictType+"";
|
|
sql += " and article_content_type = "+systemDictType+"";
|
|
}
|
|
}
|
|
sql += " order by article_content_sort,article_content_create_time desc limit "+page+" , "+pagesiz+"";
|
|
|
|
|
|
sql += " order by concat(article_content_sort,article_content_create_time) desc limit "+page+" , "+pagesiz+"";
|
|
List<ZjxlArticleContent> articleContentList = jdbcTemplate.query(sql, new BeanPropertyRowMapper<>(ZjxlArticleContent.class));
|
|
List<ZjxlArticleContent> articleContentList = jdbcTemplate.query(sql, new BeanPropertyRowMapper<>(ZjxlArticleContent.class));
|
|
return articleContentList;
|
|
return articleContentList;
|
|
}
|
|
}
|