|  | @@ -855,10 +855,16 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
 | 
	
		
			
				|  |  |             throw new Exception("参数错误");
 | 
	
		
			
				|  |  |         }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +        String needAvoidUnit = pmBaseExpertExtractReqVo.getNeedAvoidUnit();
 | 
	
		
			
				|  |  | +        List<String> needAvoidUnitList = null;
 | 
	
		
			
				|  |  | +       if(!ObjectUtils.isEmpty(needAvoidUnit)){
 | 
	
		
			
				|  |  | +           String[] arr = needAvoidUnit.split(",");
 | 
	
		
			
				|  |  | +           needAvoidUnitList = Arrays.asList(arr);
 | 
	
		
			
				|  |  | +       }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        String localArea = pmBaseExpertExtractReqVo.getLocalArea();
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -       List<String> sysRegionCodeList = new ArrayList<>();
 | 
	
		
			
				|  |  | +        String localArea = pmBaseExpertExtractReqVo.getLocalArea();
 | 
	
		
			
				|  |  | +        List<String> sysRegionCodeList = new ArrayList<>();
 | 
	
		
			
				|  |  |         if(!ObjectUtils.isEmpty(localArea)) {
 | 
	
		
			
				|  |  |             if(!StringUtils.isNumeric(localArea)){
 | 
	
		
			
				|  |  |                 throw new Exception("地域必须传数字代码");
 | 
	
	
		
			
				|  | @@ -877,6 +883,7 @@ public class PmDemandServiceImpl extends ServiceImpl<PmDemandMapper, PmDemand> i
 | 
	
		
			
				|  |  |         LambdaQueryWrapper<BaseExpert> lw = new LambdaQueryWrapper<>();
 | 
	
		
			
				|  |  |         lw.eq(BaseExpert::getVarietyPurchase,pmDemand.getProjectType())
 | 
	
		
			
				|  |  |                 .eq(BaseExpert::getStatus,NameListType.WHITE.getCode())
 | 
	
		
			
				|  |  | +                .notIn(!ObjectUtils.isEmpty(needAvoidUnitList),BaseExpert::getUnitInformation,needAvoidUnitList)
 | 
	
		
			
				|  |  |                 .in(!ObjectUtils.isEmpty(sysRegionCodeList), BaseExpert::getLocalArea,sysRegionCodeList);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |         List<BaseExpert> baseExpertList = baseExpertService.list(lw);
 |