mirror of
https://github.com/tencentmusic/supersonic.git
synced 2026-01-04 16:28:00 +08:00
(improvement)(Headless) Metric Market only displays published metrics (#867)
* (improvement)(Headless) Remove Query controller * (improvement)(Headless) Filter metrics and dimensions based on whether they were created as tags * (improvement)(Headless) Metric Market only displays published metrics --------- Co-authored-by: jolunoluo
This commit is contained in:
@@ -143,8 +143,12 @@
|
||||
<if test="sensitiveLevel != null">
|
||||
and t.sensitive_level = #{sensitiveLevel}
|
||||
</if>
|
||||
<if test="status != null">
|
||||
and t.status = #{status}
|
||||
<if test="status != null and status.size >0">
|
||||
and t.status in
|
||||
<foreach collection="status" index="index" item="status" open="(" close=")"
|
||||
separator=",">
|
||||
#{status}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="modelIds != null and modelIds.size >0">
|
||||
and t.model_id in
|
||||
@@ -166,6 +170,9 @@
|
||||
<if test="isTag != null and isTag == 1">
|
||||
and t1.id is not null
|
||||
</if>
|
||||
<if test="isTag != null and isTag == 0">
|
||||
and t1.id is null
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user