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