提交 6e937b5d 编写于 作者: zcdtk's avatar zcdtk

去掉工作流接口方法

上级 9c6e1ff5
......@@ -387,51 +387,6 @@ export class ${srfclassname(item.getCodeName())}ServiceBase extends EntityServic
constructor() {
super('${item.codeName?lower_case}');
}
<#-- 工作流相关Start -->
<#if de.getAllPSDEWFs()??>
<#list de.getAllPSDEWFs() as dewf>
<#assign workflow=dewf.getPSWorkflow() >
<#if workflow.getPSWFVersions()??>
<#list workflow.getPSWFVersions() as wfversion>
<#if wfversion.getPSWFProcesses()??>
<#list wfversion.getPSWFProcesses() as process>
<#if (process.getWFProcessType()=='INTERACTIVE') >
/**
*
*
* @param {*} [context={}]
* @param {*} [data]
* @returns {Promise<any>}
* @memberof ${srfclassname(item.getCodeName())}ServiceBase
*/
public async get${process.getWFStepValue()}(context: any = {}, data?: any): Promise<any> {
return await this.http.post('/wf/${workflow.getCodeName()?lower_case}/v${wfversion.getWFVersion()}/${process.getWFStepValue()?lower_case}/', data);
}
</#if>
</#list>
</#if>
<#if wfversion.getPSWFUIActions()??>
<#list wfversion.getPSWFUIActions() as wfuiaction>
/**
* ${workflow.getName()} v${wfversion.getWFVersion()} ${wfuiaction.getName()}
*
* @param {*} [context={}]
* @param {*} [data]
* @returns {Promise<any>}
* @memberof ${srfclassname(item.getCodeName())}ServiceBase
*/
public async ${wfuiaction.getFullCodeName()}(context: any = {}, data?: any): Promise<any> {
return await this.http.post('/wf/${workflow.getCodeName()?lower_case}/v${wfversion.getWFVersion()}/${wfuiaction.getCodeName()?lower_case}/' + context.srfkey, data);
}
</#list>
</#if>
</#list>
</#if>
</#list>
</#if>
<#-- 工作流相关End -->
<#-- 实体接口调用start -->
<#if item.getAllPSAppDEMethods?? && item.getAllPSAppDEMethods()??>
<#list item.getAllPSAppDEMethods() as singleAppMethod>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册