From 85df2349377b84ba269e0fff1a2b28d50920e25c Mon Sep 17 00:00:00 2001 From: songyunpeng Date: Mon, 7 Jun 2021 17:05:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E6=8E=92=E5=90=8D=20?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=B4=AF=E8=AE=A1=E7=A7=AF=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/UserDao.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml index 2779570a..a181a003 100644 --- a/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml +++ b/esua-epdc/epdc-module/epdc-user/epdc-user-server/src/main/resources/mapper/UserDao.xml @@ -553,20 +553,20 @@ SELECT u.ID userId, u.REAL_NAME realName, - u.POINTS points + u.POINTS_TOTLE points FROM epdc_user u WHERE u.DEL_FLAG = 0 AND u.STATE != 0 - AND u.`POINTS` IS NOT NULL - AND u.`POINTS` > 0 + AND u.`POINTS_TOTLE` IS NOT NULL + AND u.`POINTS_TOTLE` > 0 and u.ID in #{userId} - ORDER BY u.POINTS DESC, u.CREATED_TIME DESC + ORDER BY u.POINTS_TOTLE DESC, u.CREATED_TIME DESC LIMIT #{pageIndex}, #{pageSize}