类 DepartmentRestController


  • @RestController
    @RequestMapping(value="/vue/department",
                    produces="application/json")
    public class DepartmentRestController
    extends Object
    作者:
    qinman, zhangchongjie
    Date:
    2022/12/20
    • 构造器详细资料

      • DepartmentRestController

        public DepartmentRestController()
    • 方法详细资料

      • findDeptAndUserById

        @GetMapping("/findDeptAndUserById")
        public net.risesoft.pojo.Y9Result<List<NodeTreeVO>> findDeptAndUserById​(@RequestParam(required=false)
                                                                                String id)
        查找部门及部门下的岗位
        参数:
        id - 部门表中的主键Id
        返回:
        Y9Result>
      • findDeptById

        @GetMapping("/findDeptById")
        public net.risesoft.pojo.Y9Result<List<NodeTreeVO>> findDeptById​(@RequestParam(required=false)
                                                                         String id)
        查找部门
        参数:
        id - 部门表中的主键Id
        返回:
        Y9Result>>
      • findDeptById

        public List<NodeTreeVO> findDeptById​(String id,
                                             boolean isBureau)
        查找部门或委办局
        参数:
        id - 部门表中的主键Id
        isBureau - 如果为true则只查找委办局,如果为false则查找部门
        返回:
        List>
      • getOrgList

        @GetMapping("/getOrgList")
        public net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.Organization>> getOrgList()
        查找部门及部门下的人员
        返回:
        Y9Result>
      • getOrgTree

        @GetMapping("/getOrgTree")
        public net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.OrgUnit>> getOrgTree​(String id,
                                                                                                net.risesoft.enums.platform.OrgTreeTypeEnum treeType)
      • searchDept

        @GetMapping("/searchDept")
        public net.risesoft.pojo.Y9Result<List<NodeTreeVO>> searchDept​(@RequestParam(required=false)
                                                                       String name)
      • searchDeptAndPosition

        @GetMapping("/searchDeptAndPosition")
        public net.risesoft.pojo.Y9Result<List<NodeTreeVO>> searchDeptAndPosition​(@RequestParam(required=false)
                                                                                  String name)
      • treeSearch

        @GetMapping("/treeSearch")
        public net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.OrgUnit>> treeSearch​(String name,
                                                                                                net.risesoft.enums.platform.OrgTreeTypeEnum treeType)