App查询患者历史记录接口aiResult为空问题修改

master
gongzhenkun 2 years ago
parent 06c378d1c2
commit 19fe223844

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

Loading…
Cancel
Save