(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:
LXW
2024-03-28 18:39:26 +08:00
committed by GitHub
parent 9a4c8fec55
commit 8cdd0b001a
32 changed files with 286 additions and 312 deletions

View File

@@ -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>