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}