diff --git a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ExperimentInsServiceImpl.java b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ExperimentInsServiceImpl.java
index de1edb30..a8a0bf21 100644
--- a/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ExperimentInsServiceImpl.java
+++ b/ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/ExperimentInsServiceImpl.java
@@ -240,7 +240,7 @@ public class ExperimentInsServiceImpl implements ExperimentInsService {
String username = loginUser.getUsername();
String createdBy = experimentIns.getCreateBy();
if (!(StringUtils.equals(username, "admin") || StringUtils.equals(username, createdBy))) {
- throw new RuntimeException("无权限删除该流水线");
+ throw new RuntimeException("无权限删除该实验实例");
}
if (StringUtils.isEmpty(experimentIns.getStatus())) {
@@ -249,7 +249,7 @@ public class ExperimentInsServiceImpl implements ExperimentInsService {
if (StringUtils.equals(experimentIns.getStatus(), Constant.Running)) {
throw new RuntimeException("实验实例正在运行,不可删除");
}
- experimentIns.setState(0);
+ experimentIns.setState(Constant.State_invalid);
int update = this.experimentInsDao.update(experimentIns);
if (update > 0) {
resourceOccupyService.deleteTaskState(Constant.TaskType_Workflow, Long.valueOf(experimentIns.getExperimentId()), Long.valueOf(id));
diff --git a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ActiveLearnDaoMapper.xml b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ActiveLearnDaoMapper.xml
index 3ec64afd..a73bdd16 100644
--- a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ActiveLearnDaoMapper.xml
+++ b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ActiveLearnDaoMapper.xml
@@ -130,12 +130,10 @@
update_by = #{activeLearn.updateBy},
-
- status_list = #{activeLearn.statusList},
-
state = #{activeLearn.state},
+ status_list = #{activeLearn.statusList},
where id = #{activeLearn.id}
diff --git a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ExperimentDaoMapper.xml b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ExperimentDaoMapper.xml
index 99ee248a..011dcf08 100644
--- a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ExperimentDaoMapper.xml
+++ b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/ExperimentDaoMapper.xml
@@ -203,9 +203,6 @@
global_param = #{globalParam},
-
- status_list = #{statusList},
-
description = #{description},
@@ -224,6 +221,7 @@
state = #{state},
+ status_list = #{statusList},
where id = #{id}
diff --git a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/MachineLearnDaoMapper.xml b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/MachineLearnDaoMapper.xml
index 8f5cfe49..2ceb5c1f 100644
--- a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/MachineLearnDaoMapper.xml
+++ b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/MachineLearnDaoMapper.xml
@@ -34,15 +34,13 @@
param = #{machineLearn.param},
-
- status_list = #{machineLearn.statusList},
-
state = #{machineLearn.state},
update_by = #{machineLearn.updateBy},
+ status_list = #{machineLearn.statusList},
where id = #{machineLearn.id}
diff --git a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/RayDaoMapper.xml b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/RayDaoMapper.xml
index 035cbf4e..f2639960 100644
--- a/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/RayDaoMapper.xml
+++ b/ruoyi-modules/management-platform/src/main/resources/mapper/managementPlatform/RayDaoMapper.xml
@@ -67,12 +67,10 @@
update_by = #{ray.updateBy},
-
- status_list = #{ray.statusList},
-
state = #{ray.state},
+ status_list = #{ray.statusList},
model = #{ray.model},
scheduler = #{ray.scheduler},
search_alg = #{ray.searchAlg},