类 OrgController


  • @RestController("standardOrgController")
    @RequestMapping("/api/standard/org")
    public class OrgController
    extends Object
    • 构造器详细资料

      • OrgController

        public OrgController()
    • 方法详细资料

      • getOrganization

        @GetMapping("/getOrganization")
        public net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.Organization>> getOrganization()
        获取组织列表
        返回:
        Y9Result<List<Organization>>
      • getOrgTree

        @RequestMapping("/getOrgTree")
        public net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.OrgUnit>> getOrgTree​(@RequestParam(required=false)
                                                                                                String id,
                                                                                                @RequestParam(required=false)
                                                                                                net.risesoft.enums.platform.OrgTreeTypeEnum treeType,
                                                                                                @RequestParam(required=false)
                                                                                                String name)
        获取组织树
        参数:
        id - id
        treeType - 树类型OrgTreeTypeEnum
        name - 名字
        返回:
        Y9Result<List<OrgUnit>>