|  |  | @ -26,7 +26,6 @@ import com.epmet.commons.tools.constant.FieldConstant; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.constant.NumConstant; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.constant.StrConstant; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.dto.result.CustomerStaffInfoCacheResult; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.dto.result.OptionResultDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.exception.EpmetException; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.page.PageData; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.redis.common.CustomerOrgRedis; | 
			
		
	
	
		
			
				
					|  |  | @ -36,6 +35,7 @@ import com.epmet.commons.tools.security.dto.TokenDto; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.utils.ConvertUtils; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.utils.ExcelPoiUtils; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.commons.tools.utils.Result; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.CustomerGridDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.dto.form.GridOptionFormDTO; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.feign.GovOrgOpenFeignClient; | 
			
		
	
		
			
				
					|  |  |  | import com.epmet.modules.partymember.dao.IcPartymemberStyleDao; | 
			
		
	
	
		
			
				
					|  |  | @ -223,11 +223,11 @@ public class IcPartymemberStyleServiceImpl extends BaseServiceImpl<IcPartymember | 
			
		
	
		
			
				
					|  |  |  |         //获取组织下网格信息
 | 
			
		
	
		
			
				
					|  |  |  |         GridOptionFormDTO formDTO = new GridOptionFormDTO(); | 
			
		
	
		
			
				
					|  |  |  |         formDTO.setAgencyId(staffInfoCache.getAgencyId()); | 
			
		
	
		
			
				
					|  |  |  |         Result<List<OptionResultDTO>> gridOptionResult =  govOrgOpenFeignClient.getGridOption(formDTO); | 
			
		
	
		
			
				
					|  |  |  |         Result<List<CustomerGridDTO>> gridOptionResult =  govOrgOpenFeignClient.getGridIListByAgency(staffInfoCache.getAgencyId()); | 
			
		
	
		
			
				
					|  |  |  |         if (!gridOptionResult.success()) { | 
			
		
	
		
			
				
					|  |  |  |             throw new EpmetException(gridOptionResult.getCode(), gridOptionResult.getMsg()); | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  |         Map<String, String> gridMap = gridOptionResult.getData().stream().collect(Collectors.toMap(OptionResultDTO::getLabel, OptionResultDTO::getValue)); | 
			
		
	
		
			
				
					|  |  |  |         Map<String, String> gridMap = gridOptionResult.getData().stream().collect(Collectors.toMap(CustomerGridDTO::getGridName, CustomerGridDTO::getId)); | 
			
		
	
		
			
				
					|  |  |  |         //1.数据校验 只允许导入当前组织下的网格的数据
 | 
			
		
	
		
			
				
					|  |  |  |         //网格名称不一样的数据舍弃
 | 
			
		
	
		
			
				
					|  |  |  |         Iterator<IcPartymemberStyleImportExcel> iterator = result.iterator(); | 
			
		
	
	
		
			
				
					|  |  | 
 |