|  | @ -1656,7 +1656,7 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         if ("city_town_SQL".equals(code)) {
 | 
	
		
			
				|  |  |             //统计市级各区
 | 
	
		
			
				|  |  |             String city_town_SQL = "SELECT t.code,t.`name` ,ifnull(ROUND(AVG(s.score),1),80) as avgCount " +
 | 
	
		
			
				|  |  |             String city_town_SQL = "SELECT t.code,t.`name` ,ifnull(ROUND(AVG(s.score),1),0) as avgCount " +
 | 
	
		
			
				|  |  |                     " FROM wlyy_doctor d " +
 | 
	
		
			
				|  |  |                     " RIGHT JOIN dm_town t on t.code=d.town " +
 | 
	
		
			
				|  |  |                     " LEFT JOIN wlyy_evaluate_score s ON d.code = s.doctor " +
 | 
	
	
		
			
				|  | @ -1664,7 +1664,7 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |             return city_town_SQL;
 | 
	
		
			
				|  |  |         } else if ("city_hos_SQL".equals(code)) {
 | 
	
		
			
				|  |  |             //统计市级各社区
 | 
	
		
			
				|  |  |             String city_hos_SQL = "SELECT  t.code,t.`name`,ifnull(ROUND(AVG(s.score),1),80) as avgCount " +
 | 
	
		
			
				|  |  |             String city_hos_SQL = "SELECT  t.code,t.`name`,ifnull(ROUND(AVG(s.score),1),0) as avgCount " +
 | 
	
		
			
				|  |  |                     " FROM wlyy_doctor d " +
 | 
	
		
			
				|  |  |                     " RIGHT JOIN dm_hospital t on t.code = d.hospital " +
 | 
	
		
			
				|  |  |                     " LEFT JOIN wlyy_evaluate_score s ON d.code = s.doctor " +
 | 
	
	
		
			
				|  | @ -1672,7 +1672,7 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |             return city_hos_SQL;
 | 
	
		
			
				|  |  |         } else if ("town_hos_SQL".equals(code)) {
 | 
	
		
			
				|  |  |             //统计区级各社区
 | 
	
		
			
				|  |  |             String town_hos_SQL = "SELECT  t.code,t.`name`,ifnull(ROUND(AVG(s.score),1),80) as avgCount " +
 | 
	
		
			
				|  |  |             String town_hos_SQL = "SELECT  t.code,t.`name`,ifnull(ROUND(AVG(s.score),1),0) as avgCount " +
 | 
	
		
			
				|  |  |                     " FROM wlyy_doctor d " +
 | 
	
		
			
				|  |  |                     " RIGHT JOIN dm_hospital t on t.code = d.hospital " +
 | 
	
		
			
				|  |  |                     " LEFT JOIN wlyy_evaluate_score s ON d.code = s.doctor " +
 | 
	
	
		
			
				|  | @ -1680,7 +1680,7 @@ public class CurrentDayAllQuotaJob implements Job {
 | 
	
		
			
				|  |  |             return town_hos_SQL;
 | 
	
		
			
				|  |  |         } else if ("team_SQL".equals(code)) {
 | 
	
		
			
				|  |  |             //查找所有团队
 | 
	
		
			
				|  |  |             String team_SQL = "SELECT  t.id,t.`name` ,d.hospital,ifnull(ROUND(AVG(s.score),1),80) as avgCount " +
 | 
	
		
			
				|  |  |             String team_SQL = "SELECT  t.id,t.`name` ,d.hospital,ifnull(ROUND(AVG(s.score),1),0) as avgCount " +
 | 
	
		
			
				|  |  |                     " FROM wlyy_doctor d " +
 | 
	
		
			
				|  |  |                     " RIGHT JOIN wlyy_admin_team t on t.leader_code = d.code " +
 | 
	
		
			
				|  |  |                     " LEFT JOIN wlyy_evaluate_score s ON d.code = s.doctor " +
 |