|
@@ -55,9 +55,9 @@
|
|
|
and t.name like CONCAT('%',#{name},'%')
|
|
|
</if>
|
|
|
<if test="doctorCode != null and doctorCode != ''">
|
|
|
- and t.doctor_id = #{doctorCode}
|
|
|
+ and (t.doctor_id = #{doctorCode}
|
|
|
or t.beh_doctor_id = #{doctorCode}
|
|
|
- or t.director_doctor_id = #{doctorCode}
|
|
|
+ or t.director_doctor_id = #{doctorCode})
|
|
|
</if>
|
|
|
<if test="fileCode != null and fileCode != ''">
|
|
|
and t.file_code like CONCAT('%',#{fileCode},'%')
|