接口 TransactionWordApi
-
public interface TransactionWordApi正文接口管理- 作者:
- qinman, zhangchongjie
- Date:
- 2022/12/19
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 net.risesoft.pojo.Y9Result<Object>delBatchByProcessSerialNumbers(String tenantId, List<String> processSerialNumbers)根据流程编号删除正文,同时删除文件系统的文件net.risesoft.pojo.Y9Result<Object>deleteByIsTaoHong(String tenantId, String userId, String processSerialNumber, String isTaoHong)删除撤销PDF文件net.risesoft.pojo.Y9Result<TransactionWordModel>exchangeFindWordByProcessSerialNumber(String tenantId, String userId, String processSerialNumber)获取正文文件信息(数据传输)net.risesoft.pojo.Y9Result<TransactionHistoryWordModel>findHistoryVersionDoc(String tenantId, String userId, String taskId)打开历史文件net.risesoft.pojo.Y9Result<TransactionWordModel>findWordByProcessSerialNumber(String tenantId, String processSerialNumber)获取正文文件信息net.risesoft.pojo.Y9Result<List<TransactionWordModel>>getWordList(String tenantId, String userId, String processSerialNumber)获取正文列表net.risesoft.pojo.Y9Result<String>openDocument(String tenantId, String userId, String processSerialNumber, String itemId, String bindValue)打开正文net.risesoft.pojo.Y9Result<String>openDocumentByProcessSerialNumber(String tenantId, String processSerialNumber)根据流程编号打开正文net.risesoft.pojo.Y9Result<String>openDocumentTemplate(String tenantId, String userId, String templateGuid)打开套红模板net.risesoft.pojo.Y9Result<Object>openHistoryVersionDoc(String tenantId, String userId, String taskId)打开历史文件net.risesoft.pojo.Y9Result<String>openPdf(String tenantId, String userId, String processSerialNumber)打开PDFnet.risesoft.pojo.Y9Result<String>openRevokePdfAfterDocument(String tenantId, String userId, String processSerialNumber, String isTaoHong)打开撤销PDF后的正文net.risesoft.pojo.Y9Result<String>openTaoHong(String tenantId, String userId, String activitiUser)选择套红net.risesoft.pojo.Y9Result<Boolean>saveImportTransationWord(String tenantId, String userId, String docjson, String processSerialNumber)保存公文传输转入工作流的正文信息net.risesoft.pojo.Y9Result<Y9WordInfo>showWord(String tenantId, String userId, String processSerialNumber, String itemId, String itembox, String taskId, String bindValue)获取正文net.risesoft.pojo.Y9Result<List<TaoHongTemplateModel>>taoHongTemplateList(String tenantId, String userId, String currentBureauGuid)获取套红模板列表net.risesoft.pojo.Y9Result<Boolean>uploadWord(String tenantId, String userId, String documentTitle, String fileType, String processSerialNumber, String isTaoHong, String docCategory, String taskId, String fileSizeString, String fileStoreId)草稿箱保存正文net.risesoft.pojo.Y9Result<TransactionWordModel>wordDownload(String tenantId, String id)下载正文
-
-
-
方法详细资料
-
delBatchByProcessSerialNumbers
@PostMapping("/delBatchByProcessSerialNumbers") net.risesoft.pojo.Y9Result<Object> delBatchByProcessSerialNumbers(@RequestParam("tenantId") String tenantId, @RequestBody List<String> processSerialNumbers)根据流程编号删除正文,同时删除文件系统的文件- 参数:
tenantId- 租户idprocessSerialNumbers- 流程编号- 返回:
Y9Result<Object>通用请求返回对象- 从以下版本开始:
- 9.6.6
-
deleteByIsTaoHong
@PostMapping("/deleteByIsTaoHong") net.risesoft.pojo.Y9Result<Object> deleteByIsTaoHong(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("processSerialNumber") String processSerialNumber, @RequestParam("isTaoHong") String isTaoHong)删除撤销PDF文件- 参数:
tenantId- 租户iduserId- 人员idprocessSerialNumber- 流程编号isTaoHong- 是否套红- 返回:
Y9Result<Object>通用请求返回对象- 从以下版本开始:
- 9.6.6
-
exchangeFindWordByProcessSerialNumber
@GetMapping("/exchangeFindWordByProcessSerialNumber") net.risesoft.pojo.Y9Result<TransactionWordModel> exchangeFindWordByProcessSerialNumber(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("processSerialNumber") String processSerialNumber)获取正文文件信息(数据传输)- 参数:
tenantId- 租户iduserId- 人员idprocessSerialNumber- 流程编号- 返回:
Y9Result<TransactionWordModel>通用请求返回对象 - data 是正文文件信息- 从以下版本开始:
- 9.6.6
-
findHistoryVersionDoc
@GetMapping("/findHistoryVersionDoc") net.risesoft.pojo.Y9Result<TransactionHistoryWordModel> findHistoryVersionDoc(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("taskId") String taskId)打开历史文件- 参数:
tenantId- 租户iduserId- 人员idtaskId- 任务id- 返回:
Y9Result<TransactionHistoryWordModel>通用请求返回对象 - data 是历史正文文件信息对象- 从以下版本开始:
- 9.6.6
-
findWordByProcessSerialNumber
@GetMapping("/findWordByProcessSerialNumber") net.risesoft.pojo.Y9Result<TransactionWordModel> findWordByProcessSerialNumber(@RequestParam("tenantId") String tenantId, @RequestParam("processSerialNumber") String processSerialNumber)获取正文文件信息- 参数:
tenantId- 租户idprocessSerialNumber- 流程编号- 返回:
Y9Result<TransactionWordModel>通用请求返回对象 - data 是正文文件信息- 从以下版本开始:
- 9.6.6
-
getWordList
@GetMapping("/getWordList") net.risesoft.pojo.Y9Result<List<TransactionWordModel>> getWordList(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("processSerialNumber") String processSerialNumber)获取正文列表- 参数:
tenantId- 租户iduserId- 人员idprocessSerialNumber- 流程编号- 返回:
Y9Result<List<TransactionWordModel>>通用请求返回对象 - data 是正文文件信息列表- 从以下版本开始:
- 9.6.6
-
openDocument
@GetMapping("/openDocument") net.risesoft.pojo.Y9Result<String> openDocument(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("processSerialNumber") String processSerialNumber, @RequestParam("itemId") String itemId, @RequestParam("bindValue") String bindValue)打开正文- 参数:
tenantId- 租户iduserId- 人员idprocessSerialNumber- 流程编号itemId- 事项idbindValue- 绑定值- 返回:
Y9Result<String>通用请求返回对象 - data 是正文文件地址- 从以下版本开始:
- 9.6.6
-
openDocumentByProcessSerialNumber
@GetMapping("/openDocumentByProcessSerialNumber") net.risesoft.pojo.Y9Result<String> openDocumentByProcessSerialNumber(@RequestParam("tenantId") String tenantId, @RequestParam("processSerialNumber") String processSerialNumber)根据流程编号打开正文- 参数:
tenantId- 租户idprocessSerialNumber- 流程编号- 返回:
Y9Result<String>通用请求返回对象 - data 是正文文件地址- 从以下版本开始:
- 9.6.6
-
openDocumentTemplate
@GetMapping("/openDocumentTemplate") net.risesoft.pojo.Y9Result<String> openDocumentTemplate(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("templateGuid") String templateGuid)打开套红模板- 参数:
tenantId- 租户iduserId- 用户idtemplateGuid- 模板id- 返回:
Y9Result<String>通用请求返回对象 - data 是套红文件地址- 从以下版本开始:
- 9.6.6
-
openHistoryVersionDoc
@GetMapping("/openHistoryVersionDoc") net.risesoft.pojo.Y9Result<Object> openHistoryVersionDoc(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("taskId") String taskId)打开历史文件- 参数:
tenantId- 租户iduserId- 人员idtaskId- 任务id- 返回:
Y9Result<Object>通用请求返回对象- 从以下版本开始:
- 9.6.6
-
openPdf
@GetMapping("/openPdf") net.risesoft.pojo.Y9Result<String> openPdf(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("processSerialNumber") String processSerialNumber)打开PDF- 参数:
tenantId- 租户iduserId- 人员idprocessSerialNumber- 流程编号- 返回:
Y9Result<String>通用请求返回对象 - data 是PDF文件地址- 从以下版本开始:
- 9.6.6
-
openRevokePdfAfterDocument
@GetMapping("/openRevokePDFAfterDocument") net.risesoft.pojo.Y9Result<String> openRevokePdfAfterDocument(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("processSerialNumber") String processSerialNumber, @RequestParam("isTaoHong") String isTaoHong)打开撤销PDF后的正文- 参数:
tenantId- 租户iduserId- 人员idprocessSerialNumber- 流程编号isTaoHong- 是否套红- 返回:
Y9Result<String>通用请求返回对象 - data 是PDF文件地址- 从以下版本开始:
- 9.6.6
-
openTaoHong
@GetMapping("/openTaoHong") net.risesoft.pojo.Y9Result<String> openTaoHong(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("activitiUser") String activitiUser)选择套红- 参数:
tenantId- 租户iduserId- 人员idactivitiUser- activitiUser- 返回:
Y9Result<String>通用请求返回对象 - data 是当前人员的委办局GUID- 从以下版本开始:
- 9.6.6
-
saveImportTransationWord
@PostMapping("/saveImportTransationWord") net.risesoft.pojo.Y9Result<Boolean> saveImportTransationWord(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("docjson") String docjson, @RequestParam("processSerialNumber") String processSerialNumber)保存公文传输转入工作流的正文信息- 参数:
tenantId- 租户IduserId- 人员Iddocjson- 正文json信息processSerialNumber- 流程编号- 返回:
Y9Result<Boolean>通用请求返回对象 - data 是保存是否成功的信息- 从以下版本开始:
- 9.6.6
-
showWord
@GetMapping("/showWord") net.risesoft.pojo.Y9Result<Y9WordInfo> showWord(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("processSerialNumber") String processSerialNumber, @RequestParam("itemId") String itemId, @RequestParam(value="itembox",required=false) String itembox, @RequestParam(value="taskId",required=false) String taskId, @RequestParam("bindValue") String bindValue)获取正文- 参数:
tenantId- 租户iduserId- 人员idprocessSerialNumber- 流程编号itemId- 事项iditembox- 办件状态,todo(待办),doing(在办),done(办结)taskId- 任务idbindValue- 绑定值- 返回:
Y9Result<WordInfo>通用请求返回对象 - data 是正文详情- 从以下版本开始:
- 9.6.6
-
taoHongTemplateList
@GetMapping("/taoHongTemplateList") net.risesoft.pojo.Y9Result<List<TaoHongTemplateModel>> taoHongTemplateList(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("currentBureauGuid") String currentBureauGuid)获取套红模板列表- 参数:
tenantId- 租户iduserId- 人员idcurrentBureauGuid- 委办局id- 返回:
Y9Result<List<TaoHongTemplateModel>>通用请求返回对象 - data 是套红模板列表- 从以下版本开始:
- 9.6.6
-
uploadWord
@PostMapping("/uploadWord") net.risesoft.pojo.Y9Result<Boolean> uploadWord(@RequestParam("tenantId") String tenantId, @RequestParam("userId") String userId, @RequestParam("documentTitle") String documentTitle, @RequestParam("fileType") String fileType, @RequestParam("processSerialNumber") String processSerialNumber, @RequestParam(value="isTaoHong",required=false) String isTaoHong, @RequestParam(value="docCategory",required=false) String docCategory, @RequestParam(value="taskId",required=false) String taskId, @RequestParam("fileSizeString") String fileSizeString, @RequestParam("fileStoreId") String fileStoreId)草稿箱保存正文- 参数:
tenantId- 租户iduserId- 人员iddocumentTitle- 文档标题fileType- 文件类型processSerialNumber- 流程编号isTaoHong- 是否套红docCategory- 文档类别taskId- 任务idfileSizeString- 文件大小fileStoreId- 文件id- 返回:
Y9Result<Boolean>通用请求返回对象 - data 是保存是否成功的信息- 从以下版本开始:
- 9.6.6
-
wordDownload
@GetMapping("/wordDownload") net.risesoft.pojo.Y9Result<TransactionWordModel> wordDownload(@RequestParam("tenantId") String tenantId, @RequestParam("id") String id)下载正文- 参数:
tenantId- 租户Idid- 正文id- 返回:
Y9Result<WordInfo>通用请求返回对象 - data 是正文详情- 从以下版本开始:
- 9.6.6
-
-