|
|
@@ -455,11 +455,11 @@
|
|
|
|
|
|
<select id="listExperimentTool" resultMap="ExpResultMap">
|
|
|
SELECT
|
|
|
- <include refid="Base_Column_List"/>, t1.isok, #{experimentId} as exp_id
|
|
|
+ <include refid="Base_Column_List"/>, t1.isok, #{id} as exp_id
|
|
|
FROM base_safety_tool t
|
|
|
left join sec_experiment_tool t1 on t.tool_id = t1.tool_id
|
|
|
<where>
|
|
|
- t.del_flag='0' and t1.exp_id=#{experimentId}
|
|
|
+ t.del_flag='0' and t1.exp_id=#{id}
|
|
|
<if test="deptId!=null and deptId!=''">
|
|
|
and t.dept_id=#{deptId}
|
|
|
</if>
|