This commit is contained in:
ls
2025-02-23 02:32:38 +08:00
parent bb81e17445
commit 4ba6b523b6

View File

@@ -13,6 +13,18 @@
( e.supervisor=#{loginUser.id} or e.create_by=#{loginUser.username}
or r.auditor=#{loginUser.id} or r.proofreader=#{loginUser.id}
or r.confirmer=#{loginUser.id} )
<if test="experiment.name != null and experiment.name != ''">
and e.name like concat('%', #{experiment.name}, '%')
</if>
<if test="experiment.clientName != null and experiment.clientName != ''">
and e.client_name like concat('%', #{experiment.clientName}, '%')
</if>
<if test="experiment.type != null and experiment.type != ''">
and e.type =#{experiment.type}
</if>
<if test="experiment.name != null and experiment.name != ''">
and e.name like concat('%', #{experiment.name}, '%')
</if>
<if test="experiment.sampleType != null and experiment.sampleType != ''">
and s.sample_type like concat('%', #{experiment.sampleType}, '%')
</if>