mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-11 03:58:14 +00:00
(improvement)(semantic) Support dimension search by tag or not (#413)
Co-authored-by: jolunoluo
This commit is contained in:
@@ -7,5 +7,6 @@ import lombok.Data;
|
||||
@Data
|
||||
public class PageDimensionReq extends PageSchemaItemReq {
|
||||
|
||||
private Integer isTag;
|
||||
|
||||
}
|
||||
|
||||
@@ -6,5 +6,6 @@ import lombok.Data;
|
||||
@Data
|
||||
public class DimensionFilter extends MetaFilter {
|
||||
|
||||
private Integer isTag;
|
||||
|
||||
}
|
||||
|
||||
@@ -164,6 +164,9 @@
|
||||
<if test="datasourceId != null">
|
||||
and datasource_id = #{datasourceId}
|
||||
</if>
|
||||
<if test="isTag != null">
|
||||
and is_tag = #{isTag}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user