This commit is contained in:
ls
2025-02-23 02:37:22 +08:00
parent 4ba6b523b6
commit 9098c3ac0d

View File

@@ -22,13 +22,9 @@
<if test="experiment.type != null and experiment.type != ''"> <if test="experiment.type != null and experiment.type != ''">
and e.type =#{experiment.type} and e.type =#{experiment.type}
</if> </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 != ''"> <if test="experiment.sampleType != null and experiment.sampleType != ''">
and s.sample_type like concat('%', #{experiment.sampleType}, '%') and s.sample_type like concat('%', #{experiment.sampleType}, '%')
</if> </if>
<if test="experiment.sampleModel != null and experiment.sampleModel != ''"> <if test="experiment.sampleModel != null and experiment.sampleModel != ''">
and s.sample_model like concat('%', #{experiment.sampleModel}, '%') and s.sample_model like concat('%', #{experiment.sampleModel}, '%')
</if> </if>