|
|
@ -156,7 +156,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
and b.hospital_id = #{hospitalId}
|
|
|
|
and b.hospital_id = #{hospitalId}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="doctorId != null">
|
|
|
|
<if test="doctorId != null">
|
|
|
|
and b.doctor_d = #{doctorId}
|
|
|
|
and b.doctor_id = #{doctorId}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="doctorName != null and doctorName != ''">
|
|
|
|
<if test="doctorName != null and doctorName != ''">
|
|
|
|
and d.name like concat('%', #{doctorName}, '%')
|
|
|
|
and d.name like concat('%', #{doctorName}, '%')
|
|
|
|