Просмотр исходного кода

页面顶部病人医生科室信息接口修改

rgb 5 лет назад
Родитель
Сommit
4806466ebe
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      tran-service/src/main/resources/mapper/PatientInfoMapper.xml

+ 3 - 1
tran-service/src/main/resources/mapper/PatientInfoMapper.xml

@@ -59,7 +59,9 @@
 		FROM tran_hospital_info a LEFT JOIN tran_hospital_dept b 
 		ON a.`code`=b.hospital_code and b.`status`=1 and b.is_deleted='N' and b.`code`=#{hospitalDeptCode} 	
 		LEFT JOIN tran_doctor_info c 
-		ON b.hospital_code=c.hospital_code and b.`code`=c.hospital_dept_code and c.is_deleted='N' and c.`code`=#{doctorCode}
+		ON b.hospital_code=c.hospital_code 
+		<!-- and b.`code`=c.hospital_dept_code  -->
+		and c.is_deleted='N' and c.`code`=#{doctorCode}
 		LEFT JOIN tran_patient_info d 
 		ON a.code=d.hospital_code and d.is_deleted='N' and d.`code`=#{patientCode}
 		WHERE a.is_deleted='N'