Commit a212b975 authored by wdy's avatar wdy

获取任务与样品关系

parent 25b60eef
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
left join t_sample t on t.id = ts.sample_id and t.deleted = 0 left join t_sample t on t.id = ts.sample_id and t.deleted = 0
where where
<if test="taskId != null and taskId != ''"> <if test="taskId != null and taskId != ''">
task_id = #{taskId} ts.task_id = #{taskId}
</if> </if>
<if test="flag != null and flag != ''"> <if test="flag != null and flag != ''">
and flag = #{flag} and ts.flag = #{flag}
</if> </if>
</select> </select>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment