|
@@ -30,7 +30,7 @@ import com.yijia.system.service.ISysDeptService;
|
|
|
|
|
|
/**
|
|
|
* 部门信息
|
|
|
- *
|
|
|
+ *
|
|
|
* @author yijia
|
|
|
*/
|
|
|
@RestController
|
|
@@ -90,6 +90,15 @@ public class SysDeptController extends BaseController
|
|
|
return AjaxResult.success(deptService.selectDeptById(deptId));
|
|
|
}
|
|
|
|
|
|
+ @GetMapping(value = "/getGroupInfo")
|
|
|
+ public AjaxResult getGroupInfo(SysDept dept)
|
|
|
+ {
|
|
|
+ LoginUser currentUser = SecurityUtils.getLoginUser();
|
|
|
+ dept.setDeptId(currentUser.getUser().getDeptId());
|
|
|
+ return AjaxResult.success(deptService.getGroupInfo(dept));
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
/**
|
|
|
* 获取部门下拉树列表
|
|
|
*/
|