This commit is contained in:
ls
2025-07-05 19:21:30 +08:00
parent e79ed4cc43
commit 9326be7e0e
2 changed files with 4 additions and 0 deletions

View File

@@ -9,6 +9,7 @@
LEFT JOIN experiment_sample_info s ON s.experiment_id = e.id
left join experiment_deviation_equipment d on d.experiment_id = e.id
left join experiment_report r on r.experiment_id = e.id
left join experiment_radiation_process rp on rp.experiment_id = e.id
<where>
<choose>
<when test="experiment.pageName == 'audit'">
@@ -22,6 +23,9 @@
</otherwise>
</choose>
<if test="experiment.radiationSourceType != null and experiment.radiationSourceType != ''">
and rp.radiation_source like concat('%', #{experiment.radiationSourceType}, '%')
</if>
<if test="experiment.name != null and experiment.name != ''">
and e.name like concat('%', #{experiment.name}, '%')
</if>