From 5d89a8b777009acd85768d35aeb9bd4b6fba129d Mon Sep 17 00:00:00 2001 From: zhangyongzhangyong <2012005003@qq.com> Date: Wed, 8 Dec 2021 17:03:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E8=AE=A1=E7=AE=97=E6=96=B9?= =?UTF-8?q?=E5=BC=8F=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/user/VolunteerPointsAnalysisDao.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/user/VolunteerPointsAnalysisDao.xml b/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/user/VolunteerPointsAnalysisDao.xml index 3b0f0499..c30c61bd 100644 --- a/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/user/VolunteerPointsAnalysisDao.xml +++ b/esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/user/VolunteerPointsAnalysisDao.xml @@ -154,7 +154,7 @@ tmp.TAG_NAME, tmp.VOLUNTEER_SIGNATURE, tmp.ADDRESS, - IFNULL( SUM( aup.POINTS ), 0 ) AS volunteerPoints, + IFNULL( SUM( l.POINTS ), 0 ) AS volunteerPoints, COUNT(aup.ID) participationNum, IFNULL( SUM( ai.KINDNESS_TIME ), 0 ) AS kindnessTime FROM ( @@ -188,7 +188,7 @@ LEFT JOIN esua_epdc_mutuality.epdc_act_info ai on ai.`ID`= aur.`ACT_ID` GROUP BY tmp.ID - ORDER BY IFNULL( SUM( aup.POINTS ), 0 ) DESC + ORDER BY IFNULL( SUM( l.POINTS ), 0 ) DESC ORDER BY COUNT(aup.ID) DESC