support foreign identify (#111)

* [improvement][semantic] add get metric agg function

* [improvement][semantic] support foreign identify
This commit is contained in:
jipeli
2023-09-20 22:20:00 +08:00
committed by GitHub
parent 071ef8432e
commit 6dfc728b5b
6 changed files with 141 additions and 4 deletions

View File

@@ -221,7 +221,7 @@ public class ModelServiceImpl implements ModelService {
@Override
public Map<Long, String> getModelFullPathMap() {
return getModelList().stream().collect(Collectors.toMap(ModelResp::getId,
return getModelList().stream().filter(m -> m != null).collect(Collectors.toMap(ModelResp::getId,
ModelResp::getFullPath, (k1, k2) -> k1));
}