Class DocumentWpsApiImpl

  • All Implemented Interfaces:
    DocumentWpsApi

    @RestController
    @RequestMapping(value="/services/rest/documentWps",
                    produces="application/json")
    public class DocumentWpsApiImpl
    extends Object
    implements DocumentWpsApi
    WPS正文接口
    Author:
    qinman, zhangchongjie
    Date:
    2022/12/20
    • Constructor Detail

      • DocumentWpsApiImpl

        public DocumentWpsApiImpl()
    • Method Detail

      • findById

        public net.risesoft.pojo.Y9Result<DocumentWpsModel> findById​(@RequestParam
                                                                     String tenantId,
                                                                     @RequestParam
                                                                     String id)
        根据id查询WPS正文
        Specified by:
        findById in interface DocumentWpsApi
        Parameters:
        tenantId - 租户id
        id - id
        Returns:
        Y9Result<DocumentWpsModel> 通用请求返回对象 - data 是wps文档
        Since:
        9.6.6
      • findByProcessSerialNumber

        public net.risesoft.pojo.Y9Result<DocumentWpsModel> findByProcessSerialNumber​(@RequestParam
                                                                                      String tenantId,
                                                                                      @RequestParam
                                                                                      String processSerialNumber)
        根据流程编号查询WPS正文
        Specified by:
        findByProcessSerialNumber in interface DocumentWpsApi
        Parameters:
        tenantId - 租户id
        processSerialNumber - 流程编号
        Returns:
        Y9Result<DocumentWpsModel> 通用请求返回对象- data 是wps文档
        Since:
        9.6.6
      • saveDocumentWps

        public net.risesoft.pojo.Y9Result<Object> saveDocumentWps​(@RequestParam
                                                                  String tenantId,
                                                                  @RequestBody
                                                                  DocumentWpsModel documentWpsModel)
        保存WPS正文
        Specified by:
        saveDocumentWps in interface DocumentWpsApi
        Parameters:
        tenantId - 租户id
        documentWpsModel - wps文档对象
        Returns:
        Y9Result<Object> 通用请求返回对象
        Since:
        9.6.6
      • saveWpsContent

        public net.risesoft.pojo.Y9Result<Object> saveWpsContent​(@RequestParam
                                                                 String tenantId,
                                                                 @RequestParam
                                                                 String processSerialNumber,
                                                                 @RequestParam
                                                                 String hasContent)
        保存WPS正文内容
        Specified by:
        saveWpsContent in interface DocumentWpsApi
        Parameters:
        tenantId - 租户id
        processSerialNumber - 流程编号
        hasContent - 是否有内容
        Returns:
        Y9Result<Object> 通用请求返回对象
        Since:
        9.6.6