From 0acef125ddbaa3f0c739af7ff4570397dac09dd9 Mon Sep 17 00:00:00 2001
From: dongqin <123456>
Date: Sun, 2 Jun 2019 18:16:04 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/resources/mainOrm/master/PatientService.xml | 8 +++-----
.../com/lyms/platform/operate/web/facade/AreaCountFacade.java | 1 -
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/platform-biz-service/src/main/resources/mainOrm/master/PatientService.xml b/platform-biz-service/src/main/resources/mainOrm/master/PatientService.xml
index 958524c..177c044 100644
--- a/platform-biz-service/src/main/resources/mainOrm/master/PatientService.xml
+++ b/platform-biz-service/src/main/resources/mainOrm/master/PatientService.xml
@@ -548,11 +548,9 @@
AND ps.ser_doct = #{param.serDoct}
-
- order by "createDate" ${param.sort}
-
- limit #{param.offset, jdbcType=INTEGER} , #{param.limit, jdbcType=INTEGER}
-
+ order by ps.create_date desc
+
+ limit #{param.offset, jdbcType=INTEGER} , #{param.limit, jdbcType=INTEGER}