allen преди 1 година
родител
ревизия
c96f57b343
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      taais-modules/taais-biz/src/main/java/com/taais/biz/service/impl/AlgorithmSubtaskServiceImpl.java

+ 2 - 2
taais-modules/taais-biz/src/main/java/com/taais/biz/service/impl/AlgorithmSubtaskServiceImpl.java

@@ -222,7 +222,7 @@ public class AlgorithmSubtaskServiceImpl extends BaseServiceImpl<AlgorithmSubtas
                     otherParams.put("modelPath", model.getModelAddress());
                 }
                 for (AlgorithmConfigParamDto algorithmConfigParamDto : paramDtoList) {
-                    otherParams.put(algorithmConfigParamDto.getName(), StringUtils.isNotEmpty(algorithmConfigParamDto.getValue()) ? algorithmConfigParamDto.getValue() : algorithmConfigParamDto.getDefaultValue())
+                    otherParams.put(algorithmConfigParamDto.getName(), StringUtils.isNotEmpty(algorithmConfigParamDto.getValue()) ? algorithmConfigParamDto.getValue() : algorithmConfigParamDto.getDefaultValue());
                 }
                 algorithmRequestDto.setOtherParams(otherParams);
             }
@@ -277,7 +277,7 @@ public class AlgorithmSubtaskServiceImpl extends BaseServiceImpl<AlgorithmSubtas
                 List<AlgorithmConfigParamDto> paramDtoList = gson.fromJson(parameters, listType);
                 Map<String, String> otherParams = new HashMap<>(paramDtoList.size());
                 for (AlgorithmConfigParamDto algorithmConfigParamDto : paramDtoList) {
-                    otherParams.put(algorithmConfigParamDto.getName(), StringUtils.isNotEmpty(algorithmConfigParamDto.getValue()) ? algorithmConfigParamDto.getValue() : algorithmConfigParamDto.getDefaultValue())
+                    otherParams.put(algorithmConfigParamDto.getName(), StringUtils.isNotEmpty(algorithmConfigParamDto.getValue()) ? algorithmConfigParamDto.getValue() : algorithmConfigParamDto.getDefaultValue());
                 }
                 algorithmRequestDto.setOtherParams(otherParams);
             }