|
|
@ -51,9 +51,6 @@ |
|
|
|
#{orgId} |
|
|
|
</foreach> |
|
|
|
AND rankData.MONTH_ID =#{monthId} |
|
|
|
ORDER BY |
|
|
|
(rankData.RESPONSE_RATIO + rankData.RESOLVED_RATIO + rankData.GOVERN_RATIO + rankData.SATISFACTION_RATIO) DESC, |
|
|
|
rankData.RESPONSE_RATIO DESC,rankData.RESOLVED_RATIO DESC,rankData.GOVERN_RATIO DESC,rankData.SATISFACTION_RATIO DESC |
|
|
|
) |
|
|
|
union |
|
|
|
( |
|
|
@ -78,11 +75,14 @@ |
|
|
|
#{orgId} |
|
|
|
</foreach> |
|
|
|
AND rankData.MONTH_ID =#{monthId} |
|
|
|
ORDER BY |
|
|
|
(rankData.RESPONSE_RATIO + rankData.RESOLVED_RATIO + rankData.GOVERN_RATIO + rankData.SATISFACTION_RATIO) DESC, |
|
|
|
rankData.RESPONSE_RATIO DESC,rankData.RESOLVED_RATIO DESC,rankData.GOVERN_RATIO DESC,rankData.SATISFACTION_RATIO |
|
|
|
DESC |
|
|
|
) |
|
|
|
ORDER BY |
|
|
|
(RESPONSE_RATIO + RESOLVED_RATIO + GOVERN_RATIO + SATISFACTION_RATIO) DESC, |
|
|
|
RESPONSE_RATIO DESC, |
|
|
|
RESOLVED_RATIO DESC, |
|
|
|
GOVERN_RATIO DESC, |
|
|
|
SATISFACTION_RATIO DESC |
|
|
|
DESC |
|
|
|
</select> |
|
|
|
|
|
|
|
</mapper> |