From 1f46c8c91653df8ed08becc3f7615fcedd92bc6d Mon Sep 17 00:00:00 2001 From: jiangjiazhi Date: Fri, 12 Aug 2016 15:41:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=AE=BE=E7=BD=AEparentid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/lyms/platform/biz/service/PostReviewService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/PostReviewService.java b/platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/PostReviewService.java index 0767371..2a05fd9 100644 --- a/platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/PostReviewService.java +++ b/platform-biz-patient-service/src/main/java/com/lyms/platform/biz/service/PostReviewService.java @@ -60,7 +60,7 @@ public class PostReviewService { mongoQuery.mysqlBuild(postReviewDao.queryCount(query)); query.start(mongoQuery.getOffset()).end(mongoQuery.getLimit()); } - return postReviewDao.findWithList(query.addOrder(Sort.Direction.DESC, "id")); + return postReviewDao.findWithList(query.addOrder(Sort.Direction.DESC, "created")); } public List findWithList(MongoQuery mongoQuery) { -- 1.8.3.1