|  |  | @ -13,11 +13,13 @@ import com.epmet.commons.tools.exception.EpmetErrorCode; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.exception.RenException; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.redis.common.CustomerStaffRedis; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.utils.ConvertUtils; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.utils.Result; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dao.*; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.BuildingTreeLevelDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.CustomerStaffAgencyDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.IcBuildingDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.form.IcBulidingFormDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.form.ImportInfoFormDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.form.ListIcNeighborHoodFormDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.result.BuildingResultDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.result.BuildingResultPagedDTO; | 
			
		
	
	
		
			
				
					|  |  | @ -36,9 +38,11 @@ import org.springframework.beans.factory.annotation.Autowired; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.stereotype.Service; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.transaction.annotation.Transactional; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.util.CollectionUtils; | 
			
		
	
		
			
				
					|  |  |  | import org.springframework.web.multipart.MultipartFile; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | import javax.annotation.Resource; | 
			
		
	
		
			
				
					|  |  |  | import javax.servlet.http.HttpServletResponse; | 
			
		
	
		
			
				
					|  |  |  | import java.io.IOException; | 
			
		
	
		
			
				
					|  |  |  | import java.util.*; | 
			
		
	
		
			
				
					|  |  |  | import java.util.function.Function; | 
			
		
	
		
			
				
					|  |  |  | import java.util.stream.Collectors; | 
			
		
	
	
		
			
				
					|  |  | @ -366,6 +370,23 @@ public class BuildingServiceImpl implements BuildingService { | 
			
		
	
		
			
				
					|  |  |  |         return result; | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     /** | 
			
		
	
		
			
				
					|  |  |  |      * @Description 楼宇导入 | 
			
		
	
		
			
				
					|  |  |  |      *    根据左侧树选中的层级,可导入对应数据: | 
			
		
	
		
			
				
					|  |  |  |      * 1. 选中社区可导入该社区下所有小区信息、楼宇信息、房屋信息(没有匹配的小区、楼宇均新增,网格没有对应的不新增); | 
			
		
	
		
			
				
					|  |  |  |      * 2. 选中网格可导入该网格下所有小区信息、楼宇信息、房屋信息(没有匹配的小区、楼宇均新增); | 
			
		
	
		
			
				
					|  |  |  |      * 3. 选中小区可导入该小区下所有楼宇信息、房屋信息(没有匹配的楼宇均新增); | 
			
		
	
		
			
				
					|  |  |  |      * 4. 选中楼宇可导入该楼宇下所有房屋信息。 | 
			
		
	
		
			
				
					|  |  |  |      * @param formDTO | 
			
		
	
		
			
				
					|  |  |  |      * @param file | 
			
		
	
		
			
				
					|  |  |  |      * @author zxc | 
			
		
	
		
			
				
					|  |  |  |      * @date 2022/2/13 10:15 上午 | 
			
		
	
		
			
				
					|  |  |  |      */ | 
			
		
	
		
			
				
					|  |  |  |     @Override | 
			
		
	
		
			
				
					|  |  |  |     public Result buildingImportExcel(ImportInfoFormDTO formDTO, MultipartFile file) throws IOException { | 
			
		
	
		
			
				
					|  |  |  |         return null; | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     private List<IcBuildingExcel> searchAllBuilding(ListIcNeighborHoodFormDTO formDTO) { | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | //        QueryWrapper<IcNeighborHoodEntity> neighborHoodEntityQueryWrapper = new QueryWrapper<>();
 | 
			
		
	
	
		
			
				
					|  |  | 
 |