| 
						
						
							
								
							
						
						
					 | 
					@ -9,11 +9,11 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            agency_id AS "agencyId", | 
					 | 
					 | 
					            agency_id AS "agencyId", | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            project_total AS "projectTotal", | 
					 | 
					 | 
					            project_total AS "projectTotal", | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            DATE_FORMAT(date_id, '%Y.%m.%d') AS "dateName", | 
					 | 
					 | 
					            DATE_FORMAT(date_id, '%Y.%m.%d') AS "dateName", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            pending_total AS "pendingTotal", | 
					 | 
					 | 
					            IFNULL(pending_total,0) AS "pendingTotal", | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					            /*CAST(pending_ratio AS DECIMAL (9, 2)) AS "pendingRatioInt",*/ | 
					 | 
					 | 
					            /*CAST(pending_ratio AS DECIMAL (9, 2)) AS "pendingRatioInt",*/ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            pending_ratio AS "pendingRatioInt", | 
					 | 
					 | 
					            IFNULL(pending_ratio,0) AS "pendingRatioInt", | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					            closed_total AS "closedTotal", | 
					 | 
					 | 
					            IFNULL(closed_total,0) AS "closedTotal", | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					            closed_ratio AS "closedRatioInt" | 
					 | 
					 | 
					            IFNULL(closed_ratio,0) AS "closedRatioInt" | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        FROM | 
					 | 
					 | 
					        FROM | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            fact_agency_project_daily | 
					 | 
					 | 
					            fact_agency_project_daily | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        WHERE | 
					 | 
					 | 
					        WHERE | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |