接口 ProcessTodoApi


  • public interface ProcessTodoApi
    待办件列表
    作者:
    qinman, zhangchongjie
    Date:
    2022/12/19
    • 方法详细资料

      • countByOrgUnitId

        @GetMapping("/countByOrgUnitId")
        net.risesoft.pojo.Y9Result<Long> countByOrgUnitId​(@RequestParam("tenantId")
                                                          String tenantId,
                                                          @RequestParam("orgUnitId")
                                                          String orgUnitId)
        根据人员、岗位id获取待办统计
        参数:
        tenantId - 租户Id
        orgUnitId - 人员、岗位Id
        返回:
        Y9Result<Long> 通用请求返回对象 - data 是办件统计
        从以下版本开始:
        9.6.6
      • getCountByUserIdAndProcessDefinitionKey

        @GetMapping("/getCountByUserIdAndProcessDefinitionKey")
        net.risesoft.pojo.Y9Result<Y9FlowableCountModel> getCountByUserIdAndProcessDefinitionKey​(@RequestParam("tenantId")
                                                                                                 String tenantId,
                                                                                                 @RequestParam("userId")
                                                                                                 String userId,
                                                                                                 @RequestParam("processDefinitionKey")
                                                                                                 String processDefinitionKey)
        根据人员id,流程定义Key获取对应事项的办件统计(包括待办件,在办件,办结件)
        参数:
        tenantId - 租户Id
        userId - 人员、岗位Id
        processDefinitionKey - 流程定义Key
        返回:
        Y9Result<Y9FlowableCountModel> 通用请求返回对象 - data 是办件统计
        从以下版本开始:
        9.6.6
      • getCountByUserIdAndSystemName

        @GetMapping("/getCountByUserIdAndSystemName")
        net.risesoft.pojo.Y9Result<Y9FlowableCountModel> getCountByUserIdAndSystemName​(@RequestParam("tenantId")
                                                                                       String tenantId,
                                                                                       @RequestParam("userId")
                                                                                       String userId,
                                                                                       @RequestParam("systemName")
                                                                                       String systemName)
        根据人员id,系统标识获取对应事项的办件统计(包括待办件,在办件,办结件)
        参数:
        tenantId - 租户Id
        userId - 人员、岗位Id
        systemName - 系统名称
        返回:
        Y9Result<Y9FlowableCountModel> 通用请求返回对象 - data 是办件统计
        从以下版本开始:
        9.6.6
      • getListByUserIdAndProcessDefinitionKey

        @GetMapping("/getListByUserIdAndProcessDefinitionKey")
        net.risesoft.pojo.Y9Page<TaskModel> getListByUserIdAndProcessDefinitionKey​(@RequestParam("tenantId") @NotBlank
                                                                                   @NotBlank String tenantId,
                                                                                   @RequestParam("userId") @NotBlank
                                                                                   @NotBlank String userId,
                                                                                   @RequestParam("processDefinitionKey") @NotBlank
                                                                                   @NotBlank String processDefinitionKey,
                                                                                   @RequestParam("page")
                                                                                   Integer page,
                                                                                   @RequestParam("rows")
                                                                                   Integer rows)
        根据人员Id,流程定义Key获取用户的待办任务(分页)
        参数:
        tenantId - 租户Id
        userId - 人员、岗位Id
        processDefinitionKey - 流程定义Key
        page - 页码
        rows - 行数
        返回:
        Y9Page<TaskModel> 通用请求返回对象 - rows 是待办任务列表
        从以下版本开始:
        9.6.6
      • getListByUserIdAndSystemName

        @GetMapping("/getListByUserIdAndSystemName")
        net.risesoft.pojo.Y9Page<TaskModel> getListByUserIdAndSystemName​(@RequestParam("tenantId")
                                                                         String tenantId,
                                                                         @RequestParam("userId")
                                                                         String userId,
                                                                         @RequestParam("systemName")
                                                                         String systemName,
                                                                         @RequestParam("page")
                                                                         Integer page,
                                                                         @RequestParam("rows")
                                                                         Integer rows)
        根据人员Id,系统标识获取用户的待办任务(分页)
        参数:
        tenantId - 租户Id
        userId - 人员、岗位Id
        systemName - 系统名称
        page - 页码
        rows - 行数
        返回:
        Y9Page<TaskModel> 通用请求返回对象 - rows 是待办任务列表
        从以下版本开始:
        9.6.6
      • getListByUserIdAndSystemName4xxx

        @GetMapping("/getListByUserIdAndSystemName4xxx")
        net.risesoft.pojo.Y9Page<TaskModel> getListByUserIdAndSystemName4xxx​(@RequestParam("tenantId")
                                                                             String tenantId,
                                                                             @RequestParam("userId")
                                                                             String userId,
                                                                             @RequestParam(value="systemName",required=false)
                                                                             String systemName,
                                                                             @RequestParam(value="processDefinitionKey",required=false)
                                                                             String processDefinitionKey,
                                                                             @RequestParam(value="target",required=false)
                                                                             String target,
                                                                             @RequestParam("page")
                                                                             Integer page,
                                                                             @RequestParam("rows")
                                                                             Integer rows)
        获取待办件列表
        参数:
        tenantId - 租户id
        userId - 人员、岗位id
        systemName - 系统名称
        processDefinitionKey - 流程定义key
        target - 目标
        page - 页码
        rows - 行数
        返回:
        Y9Page<TaskModel> 通用请求返回对象 - rows 是待办任务列表
      • getTodoCountByUserIdAndProcessDefinitionKey

        @GetMapping("/getTodoCountByUserIdAndProcessDefinitionKey")
        net.risesoft.pojo.Y9Result<Long> getTodoCountByUserIdAndProcessDefinitionKey​(@RequestParam("tenantId")
                                                                                     String tenantId,
                                                                                     @RequestParam("userId")
                                                                                     String userId,
                                                                                     @RequestParam("processDefinitionKey")
                                                                                     String processDefinitionKey)
        根据人员、岗位id,流程定义key获取对应事项的待办数量
        参数:
        tenantId - 租户id
        userId - 人员、岗位id
        processDefinitionKey - 流程定义key
        返回:
        Y9Result<Long> 通用请求返回对象 - data 是待办数量
        从以下版本开始:
        9.6.6
      • getTodoCountByUserIdAndSystemName

        @GetMapping("/getTodoCountByUserIdAndSystemName")
        net.risesoft.pojo.Y9Result<Long> getTodoCountByUserIdAndSystemName​(@RequestParam("tenantId")
                                                                           String tenantId,
                                                                           @RequestParam("userId")
                                                                           String userId,
                                                                           @RequestParam("systemName")
                                                                           String systemName)
        根据人员id,系统标识获取对应事项的待办数量
        参数:
        tenantId - 租户Id
        userId - 人员、岗位Id
        systemName - 系统名称
        返回:
        Y9Result<Long> 通用请求返回对象 - data 是待办数量
        从以下版本开始:
        9.6.6
      • pageByUserId

        @GetMapping("/pageByUserId")
        net.risesoft.pojo.Y9Page<TaskModel> pageByUserId​(@RequestParam("tenantId")
                                                         String tenantId,
                                                         @RequestParam("userId")
                                                         String userId,
                                                         @RequestParam("page")
                                                         Integer page,
                                                         @RequestParam("rows")
                                                         Integer rows)
        根据人员、岗位id获取待办任务(分页)
        参数:
        tenantId - 租户Id
        userId - 人员、岗位id
        page - 页码
        rows - 行数
        返回:
        Y9Page<TaskModel> 通用请求返回对象 - rows 是待办任务列表
        从以下版本开始:
        9.6.6
      • searchListByUserIdAndProcessDefinitionKey

        @GetMapping("/searchListByUserIdAndProcessDefinitionKey")
        net.risesoft.pojo.Y9Page<TaskModel> searchListByUserIdAndProcessDefinitionKey​(@RequestParam("tenantId")
                                                                                      String tenantId,
                                                                                      @RequestParam("userId")
                                                                                      String userId,
                                                                                      @RequestParam("processDefinitionKey")
                                                                                      String processDefinitionKey,
                                                                                      @RequestParam(value="searchTerm",required=false)
                                                                                      String searchTerm,
                                                                                      @RequestParam("page")
                                                                                      Integer page,
                                                                                      @RequestParam("rows")
                                                                                      Integer rows)
        根据流程定义Key条件搜索待办件
        参数:
        tenantId - 租户Id
        userId - 人员、岗位Id
        processDefinitionKey - 流程定义Key
        searchTerm - 搜索词
        page - 页码
        rows - 行数
        返回:
        Y9Page<TaskModel> 通用请求返回对象 - rows 是待办任务列表
        从以下版本开始:
        9.6.6
      • searchListByUserIdAndSystemName

        @GetMapping("/searchListByUserIdAndSystemName")
        net.risesoft.pojo.Y9Page<TaskModel> searchListByUserIdAndSystemName​(@RequestParam("tenantId")
                                                                            String tenantId,
                                                                            @RequestParam("userId")
                                                                            String userId,
                                                                            @RequestParam("systemName")
                                                                            String systemName,
                                                                            @RequestParam(value="searchTerm",required=false)
                                                                            String searchTerm,
                                                                            @RequestParam("page")
                                                                            Integer page,
                                                                            @RequestParam("rows")
                                                                            Integer rows)
        根据系统英文名称条件搜索待办件
        参数:
        tenantId - 租户Id
        userId - 人员、岗位Id
        systemName - 系统英文名称
        searchTerm - 搜索词
        page - 页码
        rows - 行数
        返回:
        Y9Page<TaskModel> 通用请求返回对象 - rows 是待办任务列表
        从以下版本开始:
        9.6.6