update
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user