Browse Source

文章排序bug

xusonglin 4 years ago
parent
commit
d95a58f14e

+ 1 - 1
tianti-cms/src/main/java/com/jeff/tianti/cms/dao/ArticleDaoImpl.java

@@ -76,7 +76,7 @@ public class ArticleDaoImpl extends CustomBaseSqlDaoImpl implements ArticleDaoCu
             			 hql.append(" and t.isTop =1 ");
             		 }
             	 }
-				 hql.append(" order by t.createDate desc ");
+        		 hql.append(" order by t.createDate desc ");
         	 }
          }
          return this.queryForPageWithParams(hql.toString(),map,articleQueryDTO.getCurrentPage(),articleQueryDTO.getPageSize());