| 
					
				 | 
			
			
				@@ -50,20 +50,24 @@ public class BaseExpertServiceImpl extends ServiceImpl<BaseExpertMapper, BaseExp 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private ISysDictDataService dictDataService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    public int insertExpert(BaseExpert baseExpert) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public int insertExpert(BaseExpertVo baseExpertVo) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // base_unit_information 单位信息表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (StringUtils.isNotNull(baseExpert.getUnitInformation())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            List<BaseUnitInformation> baseUnitInformationList = baseExpertMapper.selectByUnitInformation(baseExpert.getUnitInformation()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (StringUtils.isNotNull(baseExpertVo.getUnitInformation())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            List<BaseUnitInformation> baseUnitInformationList = baseExpertMapper.selectByUnitInformation(baseExpertVo.getUnitInformation()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (baseUnitInformationList.size() <= 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 BaseUnitInformation baseUnitInformation = new BaseUnitInformation(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                baseUnitInformation.setUnitName(baseExpert.getUnitInformation()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                baseUnitInformation.setCreated(baseExpert.getExpertName()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                baseUnitInformation.setUnitName(baseExpertVo.getUnitInformation()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                baseUnitInformation.setCreated(baseExpertVo.getExpertName()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 baseUnitInformation.setCreateTime(new Date()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 Integer i = baseExpertMapper.insertBaseUnitInformation(baseUnitInformation); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return baseExpertMapper.insertExpert(baseExpert); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 区域list转字符串 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (StringUtils.isNotNull(baseExpertVo.getLocalAreaList())) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            String stringFromList = String.join(",", baseExpertVo.getLocalAreaList()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            baseExpertVo.setLocalArea(stringFromList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return baseExpertMapper.insertExpert(baseExpertVo); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Override 
			 |