|  |  |  | @ -113,7 +113,7 @@ public class ThrDeptController { | 
			
		
	
		
			
				
					|  |  |  |  |         filterThrDeptRequest.setName(thrDeptEntity.getName()); | 
			
		
	
		
			
				
					|  |  |  |  |         filterThrDeptRequest.setThirdSysFk(thrDeptEntity.getThirdSysFk()); | 
			
		
	
		
			
				
					|  |  |  |  |         filterThrDeptRequest.setStatus(thrDeptEntity.getStatus()); | 
			
		
	
		
			
				
					|  |  |  |  |         if (!thrDeptService.editExit(thrDeptEntity.getCode(), thrDeptEntity.getCode(), thrDeptEntity.getId())) { | 
			
		
	
		
			
				
					|  |  |  |  |         if (!thrDeptService.editExit(thrDeptEntity.getCode(), thrDeptEntity.getThirdSysFk(), thrDeptEntity.getId())) { | 
			
		
	
		
			
				
					|  |  |  |  |             thrDeptEntity.setPid(null); // 不能修改父级 pid
 | 
			
		
	
		
			
				
					|  |  |  |  |             thrDeptEntity.setUpdateTime(new Date()); | 
			
		
	
		
			
				
					|  |  |  |  |             boolean b = thrDeptService.updateInvWarehouse(thrDeptEntity); | 
			
		
	
	
		
			
				
					|  |  |  | 
 |