接口 OfficeFollowApi


  • public interface OfficeFollowApi
    我的关注接口
    作者:
    qinman, zhangchongjie
    Date:
    2022/12/19
    • 方法详细资料

      • countByProcessInstanceId

        @GetMapping("/countByProcessInstanceId")
        net.risesoft.pojo.Y9Result<Integer> countByProcessInstanceId​(@RequestParam("tenantId")
                                                                     String tenantId,
                                                                     @RequestParam("orgUnitId")
                                                                     String orgUnitId,
                                                                     @RequestParam("processInstanceId")
                                                                     String processInstanceId)
        根据流程实例id获取是否有关注
        参数:
        tenantId - 租户id
        orgUnitId - 人员、岗位id
        processInstanceId - 流程实例id
        返回:
        Y9Result<Integer> 通用请求返回对象 - data 是关注数量
        从以下版本开始:
        9.6.6
      • delOfficeFollow

        @PostMapping("/delOfficeFollow")
        net.risesoft.pojo.Y9Result<Object> delOfficeFollow​(@RequestParam("tenantId")
                                                           String tenantId,
                                                           @RequestParam("orgUnitId")
                                                           String orgUnitId,
                                                           @RequestParam("processInstanceIds")
                                                           String processInstanceIds)
        取消关注
        参数:
        tenantId - 租户id
        orgUnitId - 人员、岗位id
        processInstanceIds - 流程实例id列表
        返回:
        Y9Result<Object> 通用请求返回对象
        从以下版本开始:
        9.6.6
      • deleteByProcessInstanceId

        @PostMapping("/deleteByProcessInstanceId")
        net.risesoft.pojo.Y9Result<Object> deleteByProcessInstanceId​(@RequestParam("tenantId")
                                                                     String tenantId,
                                                                     @RequestParam("processInstanceId")
                                                                     String processInstanceId)
        根据流程实例id删除关注
        参数:
        tenantId - 租户id
        processInstanceId - 流程实例id
        返回:
        Y9Result<Object> 通用请求返回对象
        从以下版本开始:
        9.6.6
      • getFollowCount

        @GetMapping("/getFollowCount")
        net.risesoft.pojo.Y9Result<Integer> getFollowCount​(@RequestParam("tenantId")
                                                           String tenantId,
                                                           @RequestParam("orgUnitId")
                                                           String orgUnitId)
        获取我的关注数量
        参数:
        tenantId - 租户id
        orgUnitId - 人员、岗位id
        返回:
        Y9Result<Integer> 通用请求返回对象 - data 是我的关注数量
        从以下版本开始:
        9.6.6
      • getFollowListBySystemName

        @GetMapping("/getFollowListBySystemName")
        net.risesoft.pojo.Y9Page<OfficeFollowModel> getFollowListBySystemName​(@RequestParam("tenantId")
                                                                              String tenantId,
                                                                              @RequestParam("orgUnitId")
                                                                              String orgUnitId,
                                                                              @RequestParam("systemName")
                                                                              String systemName,
                                                                              @RequestParam(value="searchName",required=false)
                                                                              String searchName,
                                                                              @RequestParam("page")
                                                                              int page,
                                                                              @RequestParam("rows")
                                                                              int rows)
        根据系统名称获取关注列表
        参数:
        tenantId - 租户id
        orgUnitId - 人员、岗位id
        systemName - 系统名称
        searchName - 搜索词
        page - 页码
        rows - 条数
        返回:
        Y9Page<OfficeFollowModel> 通用分页请求返回对象 - rows 是关注模型信息
        从以下版本开始:
        9.6.6
      • getOfficeFollowList

        @GetMapping("/getOfficeFollowList")
        net.risesoft.pojo.Y9Page<OfficeFollowModel> getOfficeFollowList​(@RequestParam("tenantId")
                                                                        String tenantId,
                                                                        @RequestParam("orgUnitId")
                                                                        String orgUnitId,
                                                                        @RequestParam(value="searchName",required=false)
                                                                        String searchName,
                                                                        @RequestParam("page")
                                                                        int page,
                                                                        @RequestParam("rows")
                                                                        int rows)
        获取关注列表
        参数:
        tenantId - 租户id
        orgUnitId - 人员、岗位id
        searchName - 搜索词
        page - 页码
        rows - 条数
        返回:
        Y9Page<OfficeFollowModel> 通用分页请求返回对象 - rows 是关注模型信息
        从以下版本开始:
        9.6.6
      • saveOfficeFollow

        @PostMapping(value="/saveOfficeFollow",
                     consumes="application/json")
        net.risesoft.pojo.Y9Result<Object> saveOfficeFollow​(@RequestParam("tenantId")
                                                            String tenantId,
                                                            @RequestBody
                                                            OfficeFollowModel officeFollowModel)
        保存办件关注信息
        参数:
        tenantId - 租户id
        officeFollowModel - 关注信息
        返回:
        Y9Result<Object> 通用请求返回对象
        从以下版本开始:
        9.6.6
      • updateTitle

        @PostMapping("/updateTitle")
        net.risesoft.pojo.Y9Result<Object> updateTitle​(@RequestParam("tenantId")
                                                       String tenantId,
                                                       @RequestParam("processInstanceId")
                                                       String processInstanceId,
                                                       @RequestParam("documentTitle")
                                                       String documentTitle)
        更新标题
        参数:
        tenantId - 租户id
        processInstanceId - 流程实例id
        documentTitle - 文档标题
        返回:
        Y9Result<Object> 通用请求返回对象
        从以下版本开始:
        9.6.6