类 OrgController
- java.lang.Object
-
- net.risesoft.controller.OrgController
-
@RestController("standardOrgController") @RequestMapping("/api/standard/org") public class OrgController extends Object
-
-
构造器概要
构造器 构造器 说明 OrgController()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.Organization>>getOrganization()获取组织列表net.risesoft.pojo.Y9Result<List<net.risesoft.model.platform.OrgUnit>>getOrgTree(String id, net.risesoft.enums.platform.OrgTreeTypeEnum treeType, String name)获取组织树
-
-
-
方法详细资料
-
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- idtreeType- 树类型OrgTreeTypeEnumname- 名字- 返回:
Y9Result<List<OrgUnit>>
-
-