mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-12 04:27:39 +00:00
(improvement)(headless) add checkTag when query tagValue and opt tag convert (#814)
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
package com.tencent.supersonic.headless.api.pojo.request;
|
||||
|
||||
import com.tencent.supersonic.common.pojo.enums.QueryType;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
|
||||
@Data
|
||||
@ToString
|
||||
public class QuerySqlReq extends SemanticQueryReq {
|
||||
|
||||
private QueryType queryType;
|
||||
private String sql;
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
package com.tencent.supersonic.headless.api.pojo.request;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.tencent.supersonic.common.pojo.enums.QueryType;
|
||||
import com.tencent.supersonic.headless.api.pojo.Cache;
|
||||
import com.tencent.supersonic.headless.api.pojo.Param;
|
||||
import lombok.Data;
|
||||
@@ -24,8 +23,6 @@ public abstract class SemanticQueryReq {
|
||||
|
||||
protected String dataSetName;
|
||||
|
||||
protected QueryType queryType;
|
||||
|
||||
protected Set<Long> modelIds = new HashSet<>();
|
||||
|
||||
protected List<Param> params = new ArrayList<>();
|
||||
|
||||
Reference in New Issue
Block a user