| 
						
						
							
								
							
						
						
					 | 
					@ -12,7 +12,8 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            longitude AS longitude, | 
					 | 
					 | 
					            longitude AS longitude, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            latitude AS latitude, | 
					 | 
					 | 
					            latitude AS latitude, | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            PROJECT_CREATE_TIME AS projectCreateTime, | 
					 | 
					 | 
					            PROJECT_CREATE_TIME AS projectCreateTime, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            CUSTOMER_ID AS customerId | 
					 | 
					 | 
					            CUSTOMER_ID AS customerId, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            ALL_CATEGORY_NAME as categoryName | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        FROM | 
					 | 
					 | 
					        FROM | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            screen_project_data | 
					 | 
					 | 
					            screen_project_data | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        WHERE | 
					 | 
					 | 
					        WHERE | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					@ -30,26 +31,23 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            <if test="ids == null and agencyId != null"> | 
					 | 
					 | 
					            <if test="ids == null and agencyId != null"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                and org_id = #{agencyId} | 
					 | 
					 | 
					                and org_id = #{agencyId} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            </if> | 
					 | 
					 | 
					            </if> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					
 | 
					 | 
					 | 
					            <if test='level != null and "1" == level'> | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					            <choose> | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                <when test='level != null and "1" == level'> | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                and PROJECT_STATUS_CODE ='pending' | 
					 | 
					 | 
					                and PROJECT_STATUS_CODE ='pending' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                </when> | 
					 | 
					 | 
					            </if> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                <when test='level != null and "2" == level'> | 
					 | 
					 | 
					            <if test='level != null and "2" == level'> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                and PROJECT_STATUS_CODE ='pending' | 
					 | 
					 | 
					                and PROJECT_STATUS_CODE ='pending' | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                </when> | 
					 | 
					 | 
					            </if> | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					                <when test='level != null and "3" == level'> | 
					 | 
					 | 
					            <if test='level != null and "3" == level'> | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					                and PROJECT_STATUS_CODE !='pending' | 
					 | 
					 | 
					                and PROJECT_STATUS_CODE !='pending' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                and DATE_SUB(CURDATE(), INTERVAL 30 DAY) <= date(PROJECT_CREATE_TIME) | 
					 | 
					 | 
					                and DATE_SUB(CURDATE(), INTERVAL 30 DAY) <= date(PROJECT_CREATE_TIME) | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                </when> | 
					 | 
					 | 
					            </if> | 
				
			
			
				
				
			
		
	
		
		
			
				
					 | 
					 | 
					                <otherwise> | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                    and PROJECT_STATUS_CODE ='pending' | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					                </otherwise> | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            </choose> | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        order by PROJECT_CREATE_TIME desc | 
					 | 
					 | 
					        order by PROJECT_CREATE_TIME desc | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        <if test='level != null and "3" == level'> | 
					 | 
					 | 
					        <if test='level != null and "3" == level'> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            LIMIT #{pageSize} | 
					 | 
					 | 
					            LIMIT #{pageSize} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        </if> | 
					 | 
					 | 
					        </if> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        <if test='level != null and "all" == level'> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            LIMIT #{pageSize} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        </if> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    </select> | 
					 | 
					 | 
					    </select> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    <select id="selectIdsByAreaCode" resultType="java.lang.String"> | 
					 | 
					 | 
					    <select id="selectIdsByAreaCode" resultType="java.lang.String"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        select agency_id as id from screen_customer_agency where del_flag = '0' and area_code like concat(#{areaCode},'%') | 
					 | 
					 | 
					        select agency_id as id from screen_customer_agency where del_flag = '0' and area_code like concat(#{areaCode},'%') | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |