| 
															
																@ -644,10 +644,11 @@ public class SpecialistService{ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                "doctor.idcard AS idcard " + 
															 | 
															
															 | 
															
																                "doctor.idcard AS idcard " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                "FROM wlyy.wlyy_doctor doctor RIGHT JOIN ( " + 
															 | 
															
															 | 
															
																                "FROM wlyy.wlyy_doctor doctor RIGHT JOIN ( " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                "SELECT a.doctor AS doctorcode FROM wlyy.wlyy_sign_family a RIGHT JOIN ( " + 
															 | 
															
															 | 
															
																                "SELECT a.doctor AS doctorcode FROM wlyy.wlyy_sign_family a RIGHT JOIN ( " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                "SELECT patient FROM wlyy_specialist_patient_relation WHERE sign_status> 0 AND `status`>=0 AND doctor='"+doctor+"') b ON a.patient=b.patient WHERE a.`status`=1 " + 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                "SELECT patient FROM wlyy_specialist_patient_relation WHERE sign_status> 0 AND `status`>=0 AND doctor='"+doctor+"') b ON a.patient=b.patient WHERE a.`status`=1 AND a.expenses_status = 1 " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                "UNION  " + 
															 | 
															
															 | 
															
																                "UNION  " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                "SELECT a.doctor_health AS doctorcode FROM wlyy.wlyy_sign_family a RIGHT JOIN ( " + 
															 | 
															
															 | 
															
																                "SELECT a.doctor_health AS doctorcode FROM wlyy.wlyy_sign_family a RIGHT JOIN ( " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                "SELECT patient FROM wlyy_specialist_patient_relation WHERE sign_status> 0 AND `status`>=0 AND doctor='"+doctor+"') b ON a.patient=b.patient WHERE a.`status`=1) " + 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                "SELECT patient FROM wlyy_specialist_patient_relation WHERE sign_status> 0 AND `status`>=0 AND doctor='"+doctor+"') b ON a.patient=b.patient WHERE a.`status`=1 AND a.expenses_status = 1 " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																                ") " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                "t ON doctor.CODE=t.doctorcode"; 
															 | 
															
															 | 
															
																                "t ON doctor.CODE=t.doctorcode"; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        List<SignFamilyDoctorVO> patientSignInfoVOs = jdbcTemplate.query(sql,new BeanPropertyRowMapper(SignFamilyDoctorVO.class)); 
															 | 
															
															 | 
															
																        List<SignFamilyDoctorVO> patientSignInfoVOs = jdbcTemplate.query(sql,new BeanPropertyRowMapper(SignFamilyDoctorVO.class)); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																        return MixEnvelop.getSuccess(SpecialistMapping.api_success,patientSignInfoVOs); 
															 | 
															
															 | 
															
																        return MixEnvelop.getSuccess(SpecialistMapping.api_success,patientSignInfoVOs); 
															 |