Commit 12fc0de8 authored by wdy's avatar wdy

Merge branch 'wangdingyi' into 'dev'

获取任务与样品关系

See merge request !184
parents 85a7677b 4c8bcb97
...@@ -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