|
@ -756,7 +756,7 @@ |
|
|
</select> |
|
|
</select> |
|
|
<select id="getAgencySumGroup" resultType="com.epmet.dataaggre.dto.datastats.result.TotalAndIncrResultDTO"> |
|
|
<select id="getAgencySumGroup" resultType="com.epmet.dataaggre.dto.datastats.result.TotalAndIncrResultDTO"> |
|
|
SELECT |
|
|
SELECT |
|
|
group_total AS total |
|
|
SUM(group_total) AS total |
|
|
FROM |
|
|
FROM |
|
|
fact_group_total_agency_daily |
|
|
fact_group_total_agency_daily |
|
|
WHERE |
|
|
WHERE |
|
@ -765,8 +765,6 @@ |
|
|
<foreach item="agencyId" collection="agencyList" open="AND (" separator="or" close=")" index=""> |
|
|
<foreach item="agencyId" collection="agencyList" open="AND (" separator="or" close=")" index=""> |
|
|
agency_id = #{agencyId} |
|
|
agency_id = #{agencyId} |
|
|
</foreach> |
|
|
</foreach> |
|
|
ORDER BY |
|
|
|
|
|
group_total DESC |
|
|
|
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
</mapper> |
|
|
</mapper> |
|
|