| 
					
				 | 
			
			
				@ -1772,7 +1772,15 @@ public class StatisticsService extends BaseService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        //3.平均满意度 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String avg_sql = "SELECT ROUND(AVG(s.score),1) avgScore FROM wlyy_consult c LEFT JOIN wlyy_evaluate_score s ON c.`code` = s.consult WHERE c.czrq>='" + startDate + "' AND c.czrq<='" + endDate + "' AND s.doctor in(select m.doctor_code from wlyy_admin_team_member m where m.team_id=" + id + ")"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String avg_sql = "SELECT " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " ROUND(AVG(s.score), 1) avgScore " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " FROM " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " wlyy_consult_team c,wlyy_evaluate_score s  " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " WHERE " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " c.consult = s.consult  " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " AND c.czrq >= '"+startDate+"' " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " AND c.czrq <= '"+endDate+"' " + 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                " AND c.admin_team_code ="+id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        //计算签约表记录 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        Map<String, Object> signCount = jdbcTemplate.queryForMap(sign_sql); 
			 |