|
|
@ -35,6 +35,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<!-- 查询公众参与各类总数 --> |
|
|
|
<!-- 2021-05-26,按照要求,根据注册人数排序 --> |
|
|
|
<select id="selectPublicPartiTotalByAreaCode" resultType="com.epmet.evaluationindex.screen.dto.result.PublicPartiRankResultDTO"> |
|
|
|
SELECT |
|
|
|
totalData.ORG_NAME AS NAME, |
|
|
@ -54,13 +55,7 @@ |
|
|
|
WHERE |
|
|
|
totalData.DEL_FLAG = '0' |
|
|
|
AND agency.PARENT_AREA_CODE=#{areaCode} |
|
|
|
ORDER BY |
|
|
|
(totalData.REG_USER_TOTAL + totalData.JOIN_USER_TOTAL + totalData.TOPIC_TOTAL + totalData.ISSUE_TOTAL + totalData.PROJECT_TOTAL) DESC, |
|
|
|
totalData.REG_USER_TOTAL desc, |
|
|
|
totalData.JOIN_USER_TOTAL desc, |
|
|
|
totalData.TOPIC_TOTAL desc, |
|
|
|
totalData.ISSUE_TOTAL desc, |
|
|
|
totalData.PROJECT_TOTAL desc |
|
|
|
ORDER BY totalData.REG_USER_TOTAL desc |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|