Commit 949e7818b544aacec5252e0aee97079b400f2300

Authored by shiyang
1 parent ec8a98aa8c
Exists in master and in 1 other branch dev

update

Showing 1 changed file with 4 additions and 0 deletions

talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/ArticleController.java View file @ 949e781
... ... @@ -148,6 +148,10 @@
148 148 query.like("title",article.getTitle());
149 149 }
150 150  
  151 + if(null!=article.getArticleType()){
  152 + query.eq("article_type",article.getArticleType());
  153 + }
  154 +
151 155 if (sort == 1) {
152 156 query.orderByDesc("createdtime");
153 157 }