接口 ProcessDoingApi


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

      • getCountByUserId

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

        @GetMapping("/getListByUserId")
        net.risesoft.pojo.Y9Page<ProcessInstanceModel> getListByUserId​(@RequestParam("tenantId")
                                                                       String tenantId,
                                                                       @RequestParam("userId")
                                                                       String userId,
                                                                       @RequestParam("page")
                                                                       Integer page,
                                                                       @RequestParam("rows")
                                                                       Integer rows)
        根据人员Id获取用户的在办任务(分页,包含流程变量)
        参数:
        tenantId - 租户id
        userId - 人员id
        page - 页码
        rows - 行数
        返回:
        Y9Page<ProcessInstanceModel> 通用请求返回对象 - data 在办任务
        从以下版本开始:
        9.6.6
      • getListByUserIdAndProcessDefinitionKey

        @GetMapping("/getListByUserIdAndProcessDefinitionKey")
        net.risesoft.pojo.Y9Page<ProcessInstanceModel> getListByUserIdAndProcessDefinitionKey​(@RequestParam("tenantId")
                                                                                              String tenantId,
                                                                                              @RequestParam("userId")
                                                                                              String userId,
                                                                                              @RequestParam("processDefinitionKey")
                                                                                              String processDefinitionKey,
                                                                                              @RequestParam("page")
                                                                                              Integer page,
                                                                                              @RequestParam("rows")
                                                                                              Integer rows)
        根据人员Id,事项ID获取用户的在办列表(分页,包含流程变量)
        参数:
        tenantId - 租户id
        userId - 人员id
        processDefinitionKey - 流程定义Key
        page - 页码
        rows - 行数
        返回:
        Y9Page<ProcessInstanceModel> 通用请求返回对象 - data 在办列表
        从以下版本开始:
        9.6.6
      • getListByUserIdAndProcessDefinitionKeyOrderBySendTime

        @GetMapping("/getListByUserIdAndProcessDefinitionKeyOrderBySendTime")
        net.risesoft.pojo.Y9Page<ProcessInstanceModel> getListByUserIdAndProcessDefinitionKeyOrderBySendTime​(@RequestParam("tenantId")
                                                                                                             String tenantId,
                                                                                                             @RequestParam("userId")
                                                                                                             String userId,
                                                                                                             @RequestParam("processDefinitionKey")
                                                                                                             String processDefinitionKey,
                                                                                                             @RequestParam("page")
                                                                                                             Integer page,
                                                                                                             @RequestParam("rows")
                                                                                                             Integer rows)
        获取已办件列表,按办理的时间排序
        参数:
        tenantId - 租户id
        userId - 人员id
        processDefinitionKey - 流程定义key
        page - 页码
        rows - 行数
        返回:
        Y9Page<ProcessInstanceModel> 通用请求返回对象 - data 在办列表
        从以下版本开始:
        9.6.6
      • getListByUserIdAndSystemName

        @GetMapping("/getListByUserIdAndSystemName")
        net.risesoft.pojo.Y9Page<ProcessInstanceModel> 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<ProcessInstanceModel> 通用请求返回对象 - data 在办列表
        从以下版本开始:
        9.6.6
      • searchListByUserId

        @GetMapping("/searchListByUserId")
        net.risesoft.pojo.Y9Page<ProcessInstanceModel> searchListByUserId​(@RequestParam("tenantId")
                                                                          String tenantId,
                                                                          @RequestParam("userId")
                                                                          String userId,
                                                                          @RequestParam("searchTerm")
                                                                          String searchTerm,
                                                                          @RequestParam("page")
                                                                          Integer page,
                                                                          @RequestParam("rows")
                                                                          Integer rows)
        条件搜索在办件
        参数:
        tenantId - 租户id
        userId - 人员id
        searchTerm - 搜索词
        page - 页码
        rows - 行数
        返回:
        Y9Page<ProcessInstanceModel> 通用请求返回对象 - data 在办列表
        从以下版本开始:
        9.6.6
      • searchListByUserIdAndProcessDefinitionKey

        @GetMapping("/searchListByUserIdAndProcessDefinitionKey")
        net.risesoft.pojo.Y9Page<ProcessInstanceModel> 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<ProcessInstanceModel> 通用请求返回对象 - data 在办列表
        从以下版本开始:
        9.6.6
      • searchListByUserIdAndSystemName

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