Commit 1b2bb9d33df8f3cd0ee13d11f4a840d6fb6c350e
1 parent
149296d4cf
Exists in
master
debug
Showing 1 changed file with 1 additions and 1 deletions
talkonlineweb/src/main/java/com/lyms/talkonlineweb/controller/ArticleController.java
View file @
1b2bb9d
... | ... | @@ -130,7 +130,7 @@ |
130 | 130 | @GetMapping("getPushArt") |
131 | 131 | public BaseResponse getPushArt(LymsPushedart pushedart) { |
132 | 132 | BaseResponse baseResponse = new BaseResponse(); |
133 | - List<LymsPushedart> pLst = lymsPushedartService.list(Wrappers.query(pushedart)); | |
133 | + List<LymsPushedart> pLst = lymsPushedartService.list(Wrappers.query(pushedart).orderByDesc("createdtime")); | |
134 | 134 | List idLst = new ArrayList(); |
135 | 135 | pLst.forEach(e -> { |
136 | 136 | idLst.add(e.getAid()); |