|  | @ -134,9 +134,16 @@ public class SpecialistScreenResultService {
 | 
	
		
			
				|  |  |             surveyScreenResultVo.setDoctorMobile(String.valueOf(doctorList.get(0).get("mobile")));
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |         //获取问卷详情
 | 
	
		
			
				|  |  |         String templateSql = "select t.is_third from "+basedb+".wlyy_survey_templates t where t.code = '" + templateCode + "' and t.del = 1 ";
 | 
	
		
			
				|  |  |         String thirdId = jdbcTemplate.queryForObject(templateSql, String.class);
 | 
	
		
			
				|  |  |         surveyScreenResultVo.setIsThird(thirdId);
 | 
	
		
			
				|  |  |         String templateSql = "select t.* from "+basedb+".wlyy_survey_templates t where t.code = '" + templateCode + "' and t.del = 1 ";
 | 
	
		
			
				|  |  |         List<Map<String, Object>> templateSqlList = jdbcTemplate.queryForList(templateSql);
 | 
	
		
			
				|  |  |         if (templateSqlList.size()>0){
 | 
	
		
			
				|  |  |             surveyScreenResultVo.setIsThird(templateSqlList.get(0).get("is_third").toString());
 | 
	
		
			
				|  |  |         }else {
 | 
	
		
			
				|  |  |             surveyScreenResultVo.setIsThird(null);
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  | //        String templateSql = "select t.is_third from "+basedb+".wlyy_survey_templates t where t.code = '" + templateCode + "' and t.del = 1 ";
 | 
	
		
			
				|  |  | //        String thirdId = jdbcTemplate.queryForObject(templateSql, String.class);
 | 
	
		
			
				|  |  | //        surveyScreenResultVo.setIsThird(thirdId);
 | 
	
		
			
				|  |  |         //获取转诊信息
 | 
	
		
			
				|  |  |         String reservationSql = "SELECT * FROM " + basedb + ".`wlyy_patient_reservation` r where r.relation_code = '" + code + "' and r.`status` = 1 ";
 | 
	
		
			
				|  |  |         List<Map<String, Object>> list = jdbcTemplate.queryForList(reservationSql);
 |