diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ActiveLearnServiceImpl.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ActiveLearnServiceImpl.java index 59baff12..bf3d607d 100644 --- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ActiveLearnServiceImpl.java +++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ActiveLearnServiceImpl.java @@ -147,7 +147,7 @@ public class ActiveLearnServiceImpl implements ActiveLearnService { activeLearnParamVo.setDataset(JsonUtils.jsonToMap(activeLearn.getDataset())); activeLearnParamVo.setModel(JsonUtils.jsonToMap(activeLearn.getModel())); activeLearnParamVo.setImage(JsonUtils.jsonToMap(activeLearn.getImage())); - activeLearnParamVo.setExperimentInsId(String.valueOf(UUID.randomUUID()).replace("-", "")); + activeLearnParamVo.setExperimentInsId(String.valueOf(UUID.randomUUID()).replace("-", "").substring(0, 24)); String param = JsonUtils.getConvertParam(activeLearnParamVo); // 调argo转换接口