| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -518,24 +518,9 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    <select id="getCategoryListMap" resultType="java.util.Map"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        SELECT | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_kc,'0') IS_KC, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_cj,'0') IS_CJ, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_ylfn,'0') IS_YLFN, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_sn,'0') IS_SN, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_special,'0') IS_SPECIAL, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_volunteer,'0') IS_VOLUNTEER, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_unemployed,'0') IS_UNEMPLOYED, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_mb,'0') IS_MB, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_sz,'0') IS_SZ, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_sd,'0') IS_SD, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_veterans,'0') IS_VETERANS, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_ensure_house,'0') IS_ENSURE_HOUSE, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_party,'0') IS_PARTY, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_old_people,'0') IS_OLD_PEOPLE, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_xfry,'0')IS_XFRY, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_united_front,'0') IS_UNITED_FRONT, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_db,'0') IS_DB, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(is_dbh,'0') IS_DBH | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <foreach collection="columns" separator="," item="c"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                IFNULL(`${c}`,'0') AS `${c}` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            </foreach> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        FROM | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ic_resi_user | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        WHERE | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -590,25 +575,13 @@ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            iru.home_id HOME_ID, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            iru.name NAME, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            iru.created_by CREATED_BY, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            date_format(iru.created_time, '%Y-%m-%d %h:%i:%s') CREATED_TIME, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_kc,'0') IS_KC, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_cj,'0') IS_CJ, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_ylfn,'0') IS_YLFN, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_sn,'0') IS_SN, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_special,'0') IS_SPECIAL, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_volunteer,'0') IS_VOLUNTEER, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_unemployed,'0') IS_UNEMPLOYED, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_mb,'0') IS_MB, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_sz,'0') IS_SZ, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_sd,'0') IS_SD, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_veterans,'0') IS_VETERANS, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_ensure_house,'0') IS_ENSURE_HOUSE, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_party,'0') IS_PARTY, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_old_people,'0') IS_OLD_PEOPLE, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_xfry,'0')IS_XFRY, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_united_front,'0') IS_UNITED_FRONT, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_db,'0') IS_DB, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            IFNULL(iru.is_dbh,'0') IS_DBH | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            date_format(iru.created_time, '%Y-%m-%d %h:%i:%s') CREATED_TIME | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            <if test="columns != null and columns.size() > 0"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                , | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                <foreach collection="columns" separator="," item="c"> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                    IFNULL(`${c}`,'0') AS `${c}` | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                </foreach> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            </if> | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        FROM | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            ic_resi_user iru | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        <!-- 只查询在变更记录表不存在新增节点的居民 --> | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |