接口 ItemRoleApi


  • public interface ItemRoleApi
    发送选人接口
    作者:
    qinman, zhangchongjie
    Date:
    2022/12/19
    • 方法详细资料

      • findCsUser

        @GetMapping("/findCsUser")
        net.risesoft.pojo.Y9Result<List<ItemRoleOrgUnitModel>> findCsUser​(@RequestParam("tenantId")
                                                                          String tenantId,
                                                                          @RequestParam("userId")
                                                                          String userId,
                                                                          @RequestParam("orgUnitId")
                                                                          String orgUnitId,
                                                                          @RequestParam(value="id",required=false)
                                                                          String id,
                                                                          @RequestParam("principalType")
                                                                          Integer principalType,
                                                                          @RequestParam(value="processInstanceId",required=false)
                                                                          String processInstanceId)
        获取抄送选人
        参数:
        tenantId - 租户id
        userId - 人员id
        orgUnitId - 岗位id
        id - 唯一标识
        principalType - 类型:2(部门)、3 (人员)、5(用户组)、6 (岗位)
        processInstanceId - 流程实例id
        返回:
        Y9Result<List<ItemRoleOrgUnitModel>> 通用请求返回对象 - data 是发送选人组织架构
        从以下版本开始:
        9.6.6
      • findCsUserBureau

        @GetMapping("/findCsUserBureau")
        net.risesoft.pojo.Y9Result<List<ItemRoleOrgUnitModel>> findCsUserBureau​(@RequestParam("tenantId")
                                                                                String tenantId,
                                                                                @RequestParam("orgUnitId")
                                                                                String orgUnitId,
                                                                                @RequestParam("principalType")
                                                                                Integer principalType)
        获取委办局
        参数:
        tenantId - 租户id
        orgUnitId - 人员、岗位id
        principalType - 类型:2(部门)、3 (人员)、5(用户组)、6 (岗位)
        返回:
        Y9Result<List<ItemRoleOrgUnitModel>> 通用请求返回对象 - data 是发送选人组织架构
        从以下版本开始:
        9.6.6
      • findCsUserSearch

        @GetMapping("/findCsUserSearch")
        net.risesoft.pojo.Y9Result<List<ItemRoleOrgUnitModel>> findCsUserSearch​(@RequestParam("tenantId")
                                                                                String tenantId,
                                                                                @RequestParam("userId")
                                                                                String userId,
                                                                                @RequestParam("orgUnitId")
                                                                                String orgUnitId,
                                                                                @RequestParam("name")
                                                                                String name,
                                                                                @RequestParam("principalType")
                                                                                Integer principalType,
                                                                                @RequestParam(value="processInstanceId",required=false)
                                                                                String processInstanceId)
        抄送选人搜索
        参数:
        tenantId - 租户id
        userId - 人员id
        orgUnitId - 人员、岗位id
        name - 人员名称
        principalType - 类型:2(部门)、3 (人员)、5(用户组)、6 (岗位)
        processInstanceId - 流程实例Id
        返回:
        Y9Result<List<ItemRoleOrgUnitModel>> 通用请求返回对象 - data 是发送选人组织架构
        从以下版本开始:
        9.6.6
      • findPermUser

        @GetMapping("/findPermUser")
        net.risesoft.pojo.Y9Result<List<ItemRoleOrgUnitModel>> findPermUser​(@RequestParam("tenantId")
                                                                            String tenantId,
                                                                            @RequestParam("userId")
                                                                            String userId,
                                                                            @RequestParam("orgUnitId")
                                                                            String orgUnitId,
                                                                            @RequestParam("itemId")
                                                                            String itemId,
                                                                            @RequestParam("processDefinitionId")
                                                                            String processDefinitionId,
                                                                            @RequestParam("taskDefKey")
                                                                            String taskDefKey,
                                                                            @RequestParam("principalType")
                                                                            Integer principalType,
                                                                            @RequestParam(value="id",required=false)
                                                                            String id,
                                                                            @RequestParam(value="processInstanceId",required=false)
                                                                            String processInstanceId)
        获取发送人
        参数:
        tenantId - 租户id
        userId - 人员id
        orgUnitId - 人员、岗位id
        itemId - 事项id
        processDefinitionId - 流程定义Id
        taskDefKey - 流程定义中节点Id
        principalType - 类型:2(部门)、3 (人员)、5(用户组)、6 (岗位)
        id - 唯一标识
        processInstanceId - 流程实例Id
        返回:
        Y9Result<List<ItemRoleOrgUnitModel>> 通用请求返回对象 - data 是发送选人组织架构
        从以下版本开始:
        9.6.6
      • findPermUserByName

        @GetMapping("/findPermUserByName")
        net.risesoft.pojo.Y9Result<List<ItemRoleOrgUnitModel>> findPermUserByName​(@RequestParam("tenantId")
                                                                                  String tenantId,
                                                                                  @RequestParam("userId")
                                                                                  String userId,
                                                                                  @RequestParam("orgUnitId")
                                                                                  String orgUnitId,
                                                                                  @RequestParam(value="name",required=false)
                                                                                  String name,
                                                                                  @RequestParam("principalType")
                                                                                  Integer principalType,
                                                                                  @RequestParam("itemId")
                                                                                  String itemId,
                                                                                  @RequestParam("processDefinitionId")
                                                                                  String processDefinitionId,
                                                                                  @RequestParam("taskDefKey")
                                                                                  String taskDefKey,
                                                                                  @RequestParam(value="processInstanceId",required=false)
                                                                                  String processInstanceId)
        发送选人搜索
        参数:
        tenantId - 租户id
        userId - 人员id
        orgUnitId - 人员、岗位id
        name - 人员名称
        principalType - 类型:2(部门)、3 (人员)、5(用户组)、6 (岗位)
        itemId - 事项id
        processDefinitionId - 流程定义id
        taskDefKey - 流程定义中节点Id
        processInstanceId - 流程实例Id
        返回:
        Y9Result<List<ItemRoleOrgUnitModel>> 通用请求返回对象 - data 是发送选人组织架构
        从以下版本开始:
        9.6.6
      • findPermUserSendReceive

        @GetMapping("/findPermUserSendReceive")
        net.risesoft.pojo.Y9Result<List<ItemRoleOrgUnitModel>> findPermUserSendReceive​(@RequestParam("tenantId")
                                                                                       String tenantId,
                                                                                       @RequestParam("orgUnitId")
                                                                                       String orgUnitId,
                                                                                       @RequestParam(value="id",required=false)
                                                                                       String id)
        获取发送人(收发单位)
        参数:
        tenantId - 租户id
        orgUnitId - 人员、岗位id
        id - 父节点id
        返回:
        Y9Result<List<ItemRoleOrgUnitModel>> 通用请求返回对象 - data 是发送选人组织架构
        从以下版本开始:
        9.6.6
      • getOrgTree

        @GetMapping("/getOrgTree")
        net.risesoft.pojo.Y9Result<List<ItemRoleOrgUnitModel>> getOrgTree​(@RequestParam("tenantId")
                                                                          String tenantId,
                                                                          @RequestParam("orgUnitId")
                                                                          String orgUnitId,
                                                                          @RequestParam(value="id",required=false)
                                                                          String id,
                                                                          @RequestParam("treeType")
                                                                          net.risesoft.enums.platform.OrgTreeTypeEnum treeType,
                                                                          @RequestParam(value="name",required=false)
                                                                          String name)
        获取组织机构树
        参数:
        tenantId - 租户id
        orgUnitId - 人员、岗位id
        id - 组织架构id
        treeType - 树的类型:tree_type_org(组织机构),tree_type_dept(部门) tree_type_group(用户组), tree_type_position(岗位) tree_type_person(人员), tree_type_bureau(委办局)
        name - 人员名称
        返回:
        Y9Result<List<ItemRoleOrgUnitModel>> 通用请求返回对象 - data 是发送选人组织架构
        从以下版本开始:
        9.6.6