接口 TransactionHistoryWordService

    • 方法详细资料

      • delBatchByProcessSerialNumbers

        void delBatchByProcessSerialNumbers​(List<String> processSerialNumbers)
        根据流程编号删除历史正文,同时删除文件系统的文件
        参数:
        processSerialNumbers -
      • deleteHistoryWordByIsTaoHong

        void deleteHistoryWordByIsTaoHong​(String processSerialNumber,
                                          String isTaoHong)
        Description: 删除历史正文
        参数:
        processSerialNumber -
        isTaoHong -
      • getByProcessSerialNumber

        TransactionHistoryWord getByProcessSerialNumber​(String processSerialNumber)
        根据流程编号获取最新正文
        参数:
        processSerialNumber -
        返回:
      • getTransactionHistoryWordByTaskId

        TransactionHistoryWord getTransactionHistoryWordByTaskId​(String taskId)
        根据taskId找历史正文
        参数:
        taskId -
        返回:
      • listByProcessSerialNumber

        List<TransactionHistoryWord> listByProcessSerialNumber​(String processSerialNumber)
        根据流程编号获取正文
        参数:
        processSerialNumber -
        返回:
      • saveTransactionHistoryWord

        void saveTransactionHistoryWord​(String fileStoreId,
                                        String fileSize,
                                        String documenttitle,
                                        String fileType,
                                        String processSerialNumber,
                                        String isTaoHong,
                                        String taskId,
                                        String docCategory)
        Description: 保存word正文
        参数:
        fileStoreId -
        fileSize -
        documenttitle -
        fileType -
        processSerialNumber -
        isTaoHong -
        taskId -
        docCategory -
      • update

        int update​(String taskId,
                   String processSerialNumber)
        如果用户在启动流程之前先保存了正文,这时意见数据表中之前保存的数据的taskId仍为空, 此时需要根据processSerialNumber给历史正文表的taskId赋值
        参数:
        processSerialNumber -
        taskId -
        返回:
      • updateTransactionHistoryWordById

        void updateTransactionHistoryWordById​(String fileStoreId,
                                              String fileType,
                                              String fileName,
                                              String fileSize,
                                              String isTaoHong,
                                              String docCategory,
                                              String userId,
                                              String id)
        Description: 更新正文
        参数:
        fileStoreId -
        fileType -
        fileName -
        fileSize -
        isTaoHong -
        docCategory -
        userId -
        id -