|
|
|
@ -396,7 +396,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="queryRecordListByPHDids" parameterType="TPatientHospitalDoctor" resultType="TRecordResp">
|
|
|
|
|
<include refid="selectTRecordWithOutResult"/>
|
|
|
|
|
<include refid="selectTRecordWithResult"/>
|
|
|
|
|
<where>
|
|
|
|
|
<if test="patientId != null and patientId != ''"> and tr.patient_id = #{patientId}</if>
|
|
|
|
|
<if test="doctorId != null and doctorId != ''"> and tr.doctor_id = #{doctorId}</if>
|
|
|
|
|