| 
						
						
						
					 | 
					 | 
					@ -1,16 +1,15 @@
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					package com.ruoyi.web.controller.system.system;
 | 
					 | 
					 | 
					 | 
					package com.ruoyi.web.controller.system.system;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import java.util.List;
 | 
					 | 
					 | 
					 | 
					import java.util.List;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import java.util.Objects;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					import io.swagger.annotations.ApiOperation;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.apache.shiro.authz.annotation.RequiresPermissions;
 | 
					 | 
					 | 
					 | 
					import org.apache.shiro.authz.annotation.RequiresPermissions;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springframework.beans.factory.annotation.Autowired;
 | 
					 | 
					 | 
					 | 
					import org.springframework.beans.factory.annotation.Autowired;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springframework.stereotype.Controller;
 | 
					 | 
					 | 
					 | 
					import org.springframework.stereotype.Controller;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springframework.ui.ModelMap;
 | 
					 | 
					 | 
					 | 
					import org.springframework.ui.ModelMap;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springframework.validation.annotation.Validated;
 | 
					 | 
					 | 
					 | 
					import org.springframework.validation.annotation.Validated;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springframework.web.bind.annotation.GetMapping;
 | 
					 | 
					 | 
					 | 
					import org.springframework.web.bind.annotation.*;
 | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springframework.web.bind.annotation.PathVariable;
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springframework.web.bind.annotation.PostMapping;
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springframework.web.bind.annotation.RequestMapping;
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import org.springframework.web.bind.annotation.ResponseBody;
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import com.ruoyi.common.annotation.Log;
 | 
					 | 
					 | 
					 | 
					import com.ruoyi.common.annotation.Log;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import com.ruoyi.common.constant.UserConstants;
 | 
					 | 
					 | 
					 | 
					import com.ruoyi.common.constant.UserConstants;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import com.ruoyi.common.core.controller.BaseController;
 | 
					 | 
					 | 
					 | 
					import com.ruoyi.common.core.controller.BaseController;
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -184,4 +183,12 @@ public class SysDeptController extends BaseController
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        List<Ztree> ztrees = deptService.selectDeptTreeExcludeChild(dept);
 | 
					 | 
					 | 
					 | 
					        List<Ztree> ztrees = deptService.selectDeptTreeExcludeChild(dept);
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        return ztrees;
 | 
					 | 
					 | 
					 | 
					        return ztrees;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    }
 | 
					 | 
					 | 
					 | 
					    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    @ApiOperation("查询下级")
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    @GetMapping("/detpList")
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    @ResponseBody
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    public AjaxResult getDeptBydeptId(@RequestParam(required = false)  Long deptId) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					        return success(deptService.getDeptBydeptId(Objects.nonNull(deptId) ? deptId : 0));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					}
 | 
					 | 
					 | 
					 | 
					}
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
					 | 
					 | 
					
 
 |