|  | @ -254,13 +254,6 @@ public class SpecialistService{
 | 
												
													
														
															|  |         String sql = "SELECT " +
 |  |         String sql = "SELECT " +
 | 
												
													
														
															|  |                 " COUNT(1) as total " +
 |  |                 " COUNT(1) as total " +
 | 
												
													
														
															|  |                 " FROM " +
 |  |                 " FROM " +
 | 
												
													
														
															|  | //                " ( " +
 |  | 
 | 
												
													
														
															|  | //                "  SELECT " +
 |  | 
 | 
												
													
														
															|  | //                "   i.label_type AS labelType, " +
 |  | 
 | 
												
													
														
															|  | //                "   i.label, " +
 |  | 
 | 
												
													
														
															|  | //                "   i.label_name AS labelName, " +
 |  | 
 | 
												
													
														
															|  | //                "   i.patient " +
 |  | 
 | 
												
													
														
															|  | //                "  FROM " +
 |  | 
 | 
												
													
														
															|  |                 "   "+basedb+".wlyy_sign_patient_label_info i " +
 |  |                 "   "+basedb+".wlyy_sign_patient_label_info i " +
 | 
												
													
														
															|  |                 "  WHERE " +
 |  |                 "  WHERE " +
 | 
												
													
														
															|  |                 "   i.label = '"+label+"' "+
 |  |                 "   i.label = '"+label+"' "+
 | 
												
											
												
													
														
															|  | @ -268,9 +261,7 @@ public class SpecialistService{
 | 
												
													
														
															|  |                 "  AND i.`status` = '1' " +
 |  |                 "  AND i.`status` = '1' " +
 | 
												
													
														
															|  |                 " AND i.patient in ( " +
 |  |                 " AND i.patient in ( " +
 | 
												
													
														
															|  |                 " select patient from  wlyy_specialist_patient_relation  WHERE team_code ='" +teamCode+"' "+
 |  |                 " select patient from  wlyy_specialist_patient_relation  WHERE team_code ='" +teamCode+"' "+
 | 
												
													
														
															|  |                /* "*//*( doctor = '"+doctor+"' OR health_doctor = '"+doctor+"' OR health_assistant='"+doctor+ "' ) *//*" +*/
 |  | 
 | 
												
													
														
															|  |                 " AND STATUS >= 0 AND sign_status > 0 )";
 |  |                 " AND STATUS >= 0 AND sign_status > 0 )";
 | 
												
													
														
															|  | //                +" ) lb ";
 |  | 
 | 
												
													
														
															|  |         System.out.print("日志:"+sql);
 |  |         System.out.print("日志:"+sql);
 | 
												
													
														
															|  |         List<Map<String,Object>> rstotal = jdbcTemplate.queryForList(sql);
 |  |         List<Map<String,Object>> rstotal = jdbcTemplate.queryForList(sql);
 | 
												
													
														
															|  |         Long count = 0L;
 |  |         Long count = 0L;
 |