修复获取topic流量指标未按时间排序问题

This commit is contained in:
xuguang
2021-11-20 13:30:34 +08:00
parent cbf17d4eb5
commit b8f9b44f38

View File

@@ -25,6 +25,7 @@
WHERE cluster_id = #{clusterId}
AND topic_name = #{topicName}
AND gmt_create BETWEEN #{startTime} AND #{endTime}
ORDER BY gmt_create
]]>
</select>
@@ -32,6 +33,7 @@
<![CDATA[
SELECT * FROM topic_metrics
WHERE cluster_id = #{clusterId} AND #{afterTime} <= gmt_create
ORDER BY gmt_create
]]>
</select>