|
|
|
@@ -75,7 +75,8 @@ |
|
|
|
<!--查询指定行数据--> |
|
|
|
<select id="queryAllByLimit" resultMap="ExperimentMap"> |
|
|
|
select |
|
|
|
id,name, workflow_id, global_param, status_list, description, create_by, create_time, update_by, update_time, state |
|
|
|
id,name, workflow_id, global_param, status_list, description, create_by, create_time, update_by, update_time, |
|
|
|
state |
|
|
|
from experiment |
|
|
|
<where> |
|
|
|
state = 1 |
|
|
|
@@ -83,7 +84,7 @@ |
|
|
|
and id = #{experiment.id} |
|
|
|
</if> |
|
|
|
<if test="experiment.name != null and experiment.name != ''"> |
|
|
|
and name = #{experiment.name} |
|
|
|
and name LIKE CONCAT('%', #{experiment.name}, '%') |
|
|
|
</if> |
|
|
|
<if test="experiment.workflowId != null"> |
|
|
|
and workflow_id = #{experiment.workflowId} |
|
|
|
|