| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -60,18 +60,18 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    <select id="getResiComparisonList" resultType="com.epmet.dto.result.ResiComparisonListResultDTO"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        SELECT | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            a.id resiId, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            a.`name` resiName, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            a.id_card resiIdCard, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            b.id comparisonRecordId, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            b.police_name policeName, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            b.police_id_card policeIdCard, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            b.type type, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IF (b.type = '1', '已处理', '未处理') typeName, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            b.identical identical, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            (case b.identical when '0' then '否' when '1' then '是' WHEN '2' THEN '-' else '否' end ) identicalName, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            b.is_comparison isComparison, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IF (b.is_comparison = '1', '是', '否') isComparisonName, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            b.comparison_result comparisonResult | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        a.`name` resiName, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        a.id_card resiIdCard, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        b.id comparisonRecordId, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        b.police_name policeName, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        b.police_id_card policeIdCard, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        IFNULL(b.type, '0') type, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        IF (b.type = '1', '已处理', '未处理') typeName, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        IFNULL(b.identical, '0') identical, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        (case b.identical when '0' then '否' when '1' then '是' WHEN '2' THEN '-' else '否' end ) identicalName, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        IFNULL(b.is_comparison, '0') isComparison, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        IF (b.is_comparison = '1', '是', '否') isComparisonName, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        b.comparison_result comparisonResult | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        FROM | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ic_resi_user a | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <choose> | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |