Package net.risesoft.api
Class WordTemplateApiImpl
- java.lang.Object
-
- net.risesoft.api.WordTemplateApiImpl
-
- All Implemented Interfaces:
WordTemplateApi
@RestController @RequestMapping(value="/services/rest/wordTemplate", produces="application/json") public class WordTemplateApiImpl extends Object implements WordTemplateApi正文模板接口- Author:
- qinman, zhangchongjie
- Date:
- 2022/12/20
-
-
Constructor Summary
Constructors Constructor Description WordTemplateApiImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description net.risesoft.pojo.Y9Result<String>getFilePathById(String tenantId, String id)根据id获取正文模板文件路径net.risesoft.pojo.Y9Result<String>getWordTemplateBind(String tenantId, String itemId, String wordType)根据流程定义id和正文类型获取绑定正文模板文件id
-
-
-
Method Detail
-
getFilePathById
public net.risesoft.pojo.Y9Result<String> getFilePathById(@RequestParam String tenantId, @RequestParam String id)
根据id获取正文模板文件路径- Specified by:
getFilePathByIdin interfaceWordTemplateApi- Parameters:
tenantId- 租户idid- 模板id- Returns:
Y9Result<Object>通用请求返回对象- Since:
- 9.6.6
-
getWordTemplateBind
public net.risesoft.pojo.Y9Result<String> getWordTemplateBind(@RequestParam String tenantId, @RequestParam String itemId, @RequestParam String wordType)
根据流程定义id和正文类型获取绑定正文模板文件id- Specified by:
getWordTemplateBindin interfaceWordTemplateApi- Parameters:
tenantId- 租户iditemId- 事项wordType- 正文类型- Returns:
Y9Result<String>通用请求返回对象- Since:
- 9.6.6
-
-