|  | @@ -74,7 +74,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 | 
	
		
			
				|  |  |                  and project = ${project}
 | 
	
		
			
				|  |  |              </if>
 | 
	
		
			
				|  |  |          </where>
 | 
	
		
			
				|  |  | -        group by company_id,`month`,project,course_id
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +        <if test="tabType==null or tabType==''">
 | 
	
		
			
				|  |  | +            group by company_id,`month`,course_id,project
 | 
	
		
			
				|  |  | +        </if>
 | 
	
		
			
				|  |  | +        <if test="tabType!=null and tabType=='project'">
 | 
	
		
			
				|  |  | +            group by project,`month`
 | 
	
		
			
				|  |  | +        </if>
 | 
	
		
			
				|  |  | +        <if test="tabType!=null and tabType=='course'">
 | 
	
		
			
				|  |  | +            group by course_id,`month`
 | 
	
		
			
				|  |  | +        </if>
 | 
	
		
			
				|  |  | +        <if test="tabType!=null and tabType=='company'">
 | 
	
		
			
				|  |  | +            group by company_id,`month`
 | 
	
		
			
				|  |  | +        </if>
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |      </select>
 | 
	
		
			
				|  |  |      <select id="getTodayTrafficLog" resultType="java.lang.Long">
 | 
	
		
			
				|  |  |          SELECT
 |