@ -170,7 +170,7 @@
AND report.type = 2
AND s.type IN ( 0, 2 )
</if>
<if test="patientName != null">
<if test="patientName != null and patientName != ''">
and p.name = #{patientName}
<if test="patientSex != null">