(improvement)(Headless)(Chat) Change View to DataSet (#782)

* (improvement)(Headless)(Chat) Change view to dataSet



---------

Co-authored-by: jolunoluo <jolunoluo@tencent.com>
This commit is contained in:
LXW
2024-03-04 11:48:41 +08:00
committed by GitHub
parent b29e429271
commit a41da3f5fe
184 changed files with 1628 additions and 1532 deletions

View File

@@ -29,7 +29,7 @@ public class LoadRemoveService {
if (Objects.isNull(nature)) {
return false;
}
Long modelId = getViewId(nature);
Long modelId = getDataSetId(nature);
if (Objects.nonNull(modelId)) {
return !detectModelIds.contains(modelId);
}
@@ -47,7 +47,7 @@ public class LoadRemoveService {
return resultList;
}
public Long getViewId(String nature) {
public Long getDataSetId(String nature) {
try {
String[] split = nature.split(DictWordType.NATURE_SPILT);
if (split.length <= 1) {

View File

@@ -7,7 +7,7 @@ public enum TypeEnums {
TAG,
DOMAIN,
ENTITY,
VIEW,
DATASET,
MODEL,
UNKNOWN;