| 
						
						
							
								
							
						
						
					 | 
					@ -341,14 +341,14 @@ public class IcResiUserServiceImpl extends BaseServiceImpl<IcResiUserDao, IcResi | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        // 查询列表展示项需要用到哪些子表
 | 
					 | 
					 | 
					        // 查询列表展示项需要用到哪些子表
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Result<List<SubTableJoinDTO>> subTablesRes=operCustomizeOpenFeignClient.querySubTables(queryDTO1); | 
					 | 
					 | 
					        Result<List<SubTableJoinDTO>> subTablesRes=operCustomizeOpenFeignClient.querySubTables(queryDTO1); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        List<SubTableJoinDTO> subTables =subTablesRes.getData(); | 
					 | 
					 | 
					        List<SubTableJoinDTO> subTables =subTablesRes.getData(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        log.info("1、所有的子表subTables:"+JSON.toJSONString(subTables,true)); | 
					 | 
					 | 
					        // log.info("1、所有的子表subTables:"+JSON.toJSONString(subTables,true));
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //关联哪些子表:查询条件用到的表名+查询的列对应的表  并集去重
 | 
					 | 
					 | 
					        //关联哪些子表:查询条件用到的表名+查询的列对应的表  并集去重
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Set<String> whereConditionTables=formDTO.getConditions().stream().map(ResiUserQueryValueDTO::getTableName).collect(Collectors.toSet()); | 
					 | 
					 | 
					        Set<String> whereConditionTables=formDTO.getConditions().stream().map(ResiUserQueryValueDTO::getTableName).collect(Collectors.toSet()); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        Set<String> tables=new HashSet<>(); | 
					 | 
					 | 
					        Set<String> tables=new HashSet<>(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        tables.addAll(whereConditionTables); | 
					 | 
					 | 
					        tables.addAll(whereConditionTables); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        tables.addAll(resultColumnTables); | 
					 | 
					 | 
					        tables.addAll(resultColumnTables); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        log.info("2、查询条件+查询列对应的tables并集去重:"+ JSON.toJSONString(tables,true)); | 
					 | 
					 | 
					        // log.info("2、查询条件+查询列对应的tables并集去重:"+ JSON.toJSONString(tables,true));
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        //最终关联的子表对应的sql:
 | 
					 | 
					 | 
					        //最终关联的子表对应的sql:
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        List<String> finalSubTables =new ArrayList<>(); | 
					 | 
					 | 
					        List<String> finalSubTables =new ArrayList<>(); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        subTables.forEach(subTable->{ | 
					 | 
					 | 
					        subTables.forEach(subTable->{ | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |