Browse Source

积分计算方式变更

ftature/screen
zhangyongzhangyong 4 years ago
parent
commit
5d89a8b777
  1. 4
      esua-epdc/epdc-module/epdc-analysis/epdc-analysis-server/src/main/resources/mapper/user/VolunteerPointsAnalysisDao.xml

4
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
<if test='sortType != null and sortType == "1"'>
ORDER BY IFNULL( SUM( aup.POINTS ), 0 ) DESC
ORDER BY IFNULL( SUM( l.POINTS ), 0 ) DESC
</if>
<if test='sortType != null and sortType == "2"'>
ORDER BY COUNT(aup.ID) DESC

Loading…
Cancel
Save