| 
															
																@ -215,7 +215,8 @@ public class ImService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				"d.job_title_name AS \"jobTitleName\", " + 
															 | 
															
															 | 
															
																				"d.job_title_name AS \"jobTitleName\", " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				"h.dept_name AS \"deptName\", " + 
															 | 
															
															 | 
															
																				"h.dept_name AS \"deptName\", " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				"h.org_name AS \"hospitalName\", " + 
															 | 
															
															 | 
															
																				"h.org_name AS \"hospitalName\", " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				"a.pay_status AS \"payStatus\" "+ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																				"a.pay_status AS \"payStatus\", "+ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																				"a.source AS \"source\" "+ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				"FROM wlyy_consult a," + 
															 | 
															
															 | 
															
																				"FROM wlyy_consult a," + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				"wlyy_consult_team b," + 
															 | 
															
															 | 
															
																				"wlyy_consult_team b," + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				"base_doctor d, " + 
															 | 
															
															 | 
															
																				"base_doctor d, " + 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -1228,7 +1229,7 @@ public class ImService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				//添加就诊图片 
															 | 
															
															 | 
															
																				//添加就诊图片 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				ct.setImages(wlyyOutpatientDO.getDiseaseImg()); 
															 | 
															
															 | 
															
																				ct.setImages(wlyyOutpatientDO.getDiseaseImg()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				// 添加咨询记录 
															 | 
															
															 | 
															
																				// 添加咨询记录 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				ConsultDo consult = addConsult(ct.getPatient(), consultTitle, ct.getSymptoms(), ct.getImages(), ct.getType(),source); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																				ConsultDo consult = addConsult(ct.getPatient(), consultTitle, ct.getSymptoms(), ct.getImages(), ct.getType(),wlyyOutpatientDO.getSource()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				// 设置关联指导 
															 | 
															
															 | 
															
																				// 设置关联指导 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				consult.setGuidance(ct.getGuidance()); 
															 | 
															
															 | 
															
																				consult.setGuidance(ct.getGuidance()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																				//关联业务code 
															 | 
															
															 | 
															
																				//关联业务code 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -1408,7 +1409,7 @@ public class ImService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																		//添加就诊图片 
															 | 
															
															 | 
															
																		//添加就诊图片 
															 | 
														
													
												
													
														
															| 
															 | 
															
																		ct.setImages(wlyyOutpatientDO.getDiseaseImg()); 
															 | 
															
															 | 
															
																		ct.setImages(wlyyOutpatientDO.getDiseaseImg()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																		// 添加咨询记录 
															 | 
															
															 | 
															
																		// 添加咨询记录 
															 | 
														
													
												
													
														
															| 
															 | 
															
																		ConsultDo consult = addConsult(ct.getPatient(), consultTitle, ct.getSymptoms(), ct.getImages(), ct.getType(),source); 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																		ConsultDo consult = addConsult(ct.getPatient(), consultTitle, ct.getSymptoms(), ct.getImages(), ct.getType(),wlyyOutpatientDO.getSource()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																		// 设置关联指导 
															 | 
															
															 | 
															
																		// 设置关联指导 
															 | 
														
													
												
													
														
															| 
															 | 
															
																		consult.setGuidance(ct.getGuidance()); 
															 | 
															
															 | 
															
																		consult.setGuidance(ct.getGuidance()); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																		//关联业务code 
															 | 
															
															 | 
															
																		//关联业务code 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@ -2175,7 +2176,8 @@ public class ImService { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																					"d.idcard as \"patientIdcard\"," + 
															 | 
															
															 | 
															
																					"d.idcard as \"patientIdcard\"," + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																					"d.sex as \"patientSex\"," + 
															 | 
															
															 | 
															
																					"d.sex as \"patientSex\"," + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																					"d.photo AS \"patientPhoto\", " + 
															 | 
															
															 | 
															
																					"d.photo AS \"patientPhoto\", " + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																					"b.doctor as \"doctor\"  "+ 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																					"b.doctor as \"doctor\" ,"+ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																					"a.source as \"source\"  "+ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																					"FROM wlyy_consult a," + 
															 | 
															
															 | 
															
																					"FROM wlyy_consult a," + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																					"wlyy_consult_team b," + 
															 | 
															
															 | 
															
																					"wlyy_consult_team b," + 
															 | 
														
													
												
													
														
															| 
															 | 
															
																					"base_patient d " + 
															 | 
															
															 | 
															
																					"base_patient d " + 
															 |