|
|
|
@@ -84,7 +84,7 @@ |
|
|
|
and global_param = #{experiment.globalParam} |
|
|
|
</if> |
|
|
|
<if test="experiment.statusList != null and experiment.statusList != ''"> |
|
|
|
status_list = #{experiment.statusList}, |
|
|
|
status_list = #{experiment.statusList} |
|
|
|
</if> |
|
|
|
<if test="experiment.description != null and experiment.description != ''"> |
|
|
|
and description = #{experiment.description} |
|
|
|
@@ -125,7 +125,7 @@ |
|
|
|
and global_param = #{experiment.globalParam} |
|
|
|
</if> |
|
|
|
<if test="experiment.statusList != null and experiment.statusList != ''"> |
|
|
|
status_list = #{experiment.statusList}, |
|
|
|
status_list = #{experiment.statusList} |
|
|
|
</if> |
|
|
|
<if test="experiment.description != null and experiment.description != ''"> |
|
|
|
and description = #{experiment.description} |
|
|
|
@@ -148,7 +148,7 @@ |
|
|
|
<!--新增所有列--> |
|
|
|
<insert id="insert" keyProperty="id" useGeneratedKeys="true"> |
|
|
|
insert into experiment(name,workflow_id, global_param, status_list, description, create_by, create_time, update_by, update_time, state) |
|
|
|
values (#{experiment.name},#{experiment.workflowId}, #{experiment.globalParam},#{experiment.statusList}, #{experiment.description}, #{experiment.createBy}, #{experiment.createTime}, #{experiment.updateBy}, #{experiment.updateTime}, #{experiment.state}) |
|
|
|
values (#{experiment.name},#{experiment.workflowId}, #{experiment.globalParam},#{experiment.statusList}, #{experiment.description}, #{experiment.createBy}, #{experiment.createTime}, #{experiment.updateBy}, #{experiment.updateTime}, #{experiment.state}) |
|
|
|
</insert> |
|
|
|
|
|
|
|
<insert id="insertBatch" keyProperty="id" useGeneratedKeys="true"> |
|
|
|
|