@ -26,6 +26,7 @@
WHERE DEL_FLAG = 0
AND ORG_ID = #{agencyId}
AND YEAR_ID = #{yearId}
ORDER BY MONTH_ID
</select>
<select id="selectGrassRootsGovernRank" resultType="com.epmet.evaluationindex.screen.dto.result.GrassRootsGovernRankResultDTO">
SELECT ORG_NAME,
@ -38,6 +39,6 @@
AND PID = #{agencyId}
AND MONTH_ID = #{monthId}
GROUP BY PARTI_PROJECT_TOTAL
ORDER BY PARTI_PROJECT_TOTAL DESC
</mapper>
@ -22,6 +22,7 @@
<select id="selectGrassRootsOrgRank" resultType="com.epmet.evaluationindex.screen.dto.result.GrassRootsOrgRankResultDTO">
@ -32,6 +33,6 @@
ORDER BY GROUP_TOTAL
ORDER BY GROUP_TOTAL DESC
@ -15,7 +15,7 @@
FROM screen_an_grass_roots_pm_rank
AND ALL_PARENT_IDS LIKE concat('%', trim(#{agencyId}), '%')
ORDER BY GROUP_MEMBER_TOTAL
ORDER BY GROUP_MEMBER_TOTAL DESC
LIMIT #{topNum}
@ -23,5 +23,6 @@
WHERE DEL_FLAG = '0'