| 
					
				 | 
			
			
				@ -158,11 +158,11 @@ public class StatisticsService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        // activity-1   活动浏览次数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        // activity-2   公艺课程播放 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String sql = " select type,num from base_child_activity_click where type in(1,2)"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String sql = " SELECT activity_type, COUNT(id) FROM base_activity_click WHERE activity_type IN (1, 2) GROUP BY activity_type"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        List<Map<String, Object>> lists = jdbcTemplate.queryForList(sql); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        for (Map<String, Object> tmp : lists) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            Integer num = Integer.parseInt(tmp.get("num").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            res.put("activity_" + tmp.get("type").toString(), num); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            Integer num = Integer.parseInt(tmp.get("id").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            res.put("activity_" + tmp.get("activity_type").toString(), num); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        //activity-3 幼儿活动报名-总数 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -289,11 +289,11 @@ public class StatisticsService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            // activity-1   活动浏览次数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            // activity-2   公艺课程播放 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String sql = " select type,num from base_child_activity_click where type in(1,2)"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            String sql = " SELECT activity_type, COUNT(id) FROM base_activity_click WHERE activity_type IN (1, 2) GROUP BY activity_type"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            List<Map<String, Object>> lists = jdbcTemplate.queryForList(sql); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            for (Map<String, Object> tmp : lists) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                Integer num = Integer.parseInt(tmp.get("num").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                res.put("activity_" + tmp.get("type").toString(), num); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                Integer num = Integer.parseInt(tmp.get("id").toString()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                res.put("activity_" + tmp.get("activity_type").toString(), num); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            /*幼儿活动报名 总数*/ 
			 |