Commit 1f46c8c91653df8ed08becc3f7615fcedd92bc6d
1 parent
e05865b6b0
Exists in
master
and in
1 other branch
增加设置parentid
Showing 1 changed file with 1 additions and 1 deletions
platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/PostReviewService.java
View file @
1f46c8c
... | ... | @@ -60,7 +60,7 @@ |
60 | 60 | mongoQuery.mysqlBuild(postReviewDao.queryCount(query)); |
61 | 61 | query.start(mongoQuery.getOffset()).end(mongoQuery.getLimit()); |
62 | 62 | } |
63 | - return postReviewDao.findWithList(query.addOrder(Sort.Direction.DESC, "id")); | |
63 | + return postReviewDao.findWithList(query.addOrder(Sort.Direction.DESC, "created")); | |
64 | 64 | } |
65 | 65 | |
66 | 66 | public List<PostReviewModel> findWithList(MongoQuery mongoQuery) { |