Browse Source

修改数据集模型查询bug

dev-opt
chenzhihang 7 months ago
parent
commit
b8d4182d5b
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ModelsServiceImpl.java
  2. +2
    -2
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/NewDatasetServiceImpl.java

+ 2
- 2
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ModelsServiceImpl.java View File

@@ -1367,10 +1367,10 @@ public class ModelsServiceImpl implements ModelsService {
}

if (modelTopicName != null && modelTopic.equals(modelTopicName)) {
if (StrUtil.containsAnyIgnoreCase(modelTagName, modelTag)) {
if (StringUtils.isNotEmpty(modelTagName) && !modelTagName.toLowerCase().equals(modelTag)) {
continue;
}
if (StrUtil.containsAnyIgnoreCase(modelTypeName, modelType)) {
if (StringUtils.isNotEmpty(modelTypeName) && !modelTypeName.toLowerCase().equals(modelType)) {
continue;
}
newModelVo.setModelTag(modelTagName);


+ 2
- 2
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/NewDatasetServiceImpl.java View File

@@ -720,10 +720,10 @@ public class NewDatasetServiceImpl implements NewDatasetService {
}

if (datasetTopic.equals(datasetTopicName)) {
if (StrUtil.containsAnyIgnoreCase(datasetTagName, datasetTag)) {
if (StringUtils.isNotEmpty(datasetTagName) && !datasetTagName.toLowerCase().equals(datasetTag)) {
continue;
}
if (StrUtil.containsAnyIgnoreCase(datasetTypeName, datasetType)) {
if (StringUtils.isNotEmpty(datasetTypeName) && !datasetTypeName.toLowerCase().equals(datasetType)) {
continue;
}
newDatasetVo.setDataTag(datasetTagName);


Loading…
Cancel
Save