Class AssociatedFileApiImpl

  • All Implemented Interfaces:
    AssociatedFileApi

    @Validated
    @RestController
    @RequestMapping(value="/services/rest/associatedFile",
                    produces="application/json")
    public class AssociatedFileApiImpl
    extends Object
    implements AssociatedFileApi
    关联流程接口
    Author:
    qinman, zhangchongjie
    Date:
    2022/12/20
    • Constructor Detail

      • AssociatedFileApiImpl

        public AssociatedFileApiImpl()
    • Method Detail

      • countAssociatedFile

        public net.risesoft.pojo.Y9Result<Integer> countAssociatedFile​(@RequestParam @NotBlank
                                                                       @NotBlank String tenantId,
                                                                       @RequestParam @NotBlank
                                                                       @NotBlank String processSerialNumber)
        关联流程数量
        Specified by:
        countAssociatedFile in interface AssociatedFileApi
        Parameters:
        tenantId - 租户id
        processSerialNumber - 流程编号
        Returns:
        Y9Result<Integer> 通用请求返回对象 - data是关联流程计数
        Since:
        9.6.6
      • deleteAllAssociatedFile

        public net.risesoft.pojo.Y9Result<Object> deleteAllAssociatedFile​(@RequestParam
                                                                          String tenantId,
                                                                          @RequestParam
                                                                          String processSerialNumber,
                                                                          @RequestParam
                                                                          String delIds)
        批量删除关联流程
        Specified by:
        deleteAllAssociatedFile in interface AssociatedFileApi
        Parameters:
        tenantId - 租户id
        processSerialNumber - 流程编号
        delIds - 关联流程实例id(,隔开)
        Returns:
        Y9Result<Object> 通用请求返回对象
        Since:
        9.6.6
      • deleteAssociatedFile

        public net.risesoft.pojo.Y9Result<Object> deleteAssociatedFile​(@RequestParam
                                                                       String tenantId,
                                                                       @RequestParam
                                                                       String processSerialNumber,
                                                                       @RequestParam
                                                                       String delId)
        删除关联流程
        Specified by:
        deleteAssociatedFile in interface AssociatedFileApi
        Parameters:
        tenantId - 租户id
        processSerialNumber - 流程编号
        delId - 关联流程实例id
        Returns:
        Y9Result<Object> 通用请求返回对象
        Since:
        9.6.6
      • getAssociatedFileAllList

        public net.risesoft.pojo.Y9Result<List<AssociatedFileModel>> getAssociatedFileAllList​(@RequestParam
                                                                                              String tenantId,
                                                                                              @RequestParam
                                                                                              String orgUnitId,
                                                                                              @RequestParam
                                                                                              String processSerialNumber)
        获取关联流程列表(包括未办结件)
        Specified by:
        getAssociatedFileAllList in interface AssociatedFileApi
        Parameters:
        tenantId - 租户id
        orgUnitId - 人员、岗位id
        processSerialNumber - 流程编号
        Returns:
        Y9Result<List<AssociatedFileModel>> 通用请求返回对象 - data是关联流程列表
        Since:
        9.6.6
      • saveAssociatedFile

        public net.risesoft.pojo.Y9Result<Object> saveAssociatedFile​(@RequestParam
                                                                     String tenantId,
                                                                     @RequestParam
                                                                     String orgUnitId,
                                                                     @RequestParam
                                                                     String processSerialNumber,
                                                                     @RequestParam
                                                                     String processInstanceIds)
        保存关联流程信息
        Specified by:
        saveAssociatedFile in interface AssociatedFileApi
        Parameters:
        tenantId - 租户id
        orgUnitId - 人员、岗位id
        processSerialNumber - 流程编号
        processInstanceIds - 关联的流程实例ids
        Returns:
        Y9Result<Object> 通用请求返回对象
        Since:
        9.6.6