mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 12:07:42 +00:00
(improvement)(semantic) Support dimension search by tag or not, compatible with historical data (#414)
Co-authored-by: jolunoluo
This commit is contained in:
@@ -164,8 +164,11 @@
|
||||
<if test="datasourceId != null">
|
||||
and datasource_id = #{datasourceId}
|
||||
</if>
|
||||
<if test="isTag != null">
|
||||
and is_tag = #{isTag}
|
||||
<if test="isTag != null and isTag == 1">
|
||||
and is_tag = 1
|
||||
</if>
|
||||
<if test="isTag != null and isTag == 0">
|
||||
and (is_tag = 0 or is_tag is null)
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user