提交 f0b043c0 编写于 作者: sq3536's avatar sq3536

bpmn图形

上级 cc24a234
...@@ -85,7 +85,7 @@ TARGET=PSWFVERSION ...@@ -85,7 +85,7 @@ TARGET=PSWFVERSION
<#elseif WFProcess.getWFProcessType()=='EXCLUSIVEGATEWAY'> <#elseif WFProcess.getWFProcessType()=='EXCLUSIVEGATEWAY'>
<exclusiveGateway id="sid-${WFProcess.getDeployId()}"></exclusiveGateway> <exclusiveGateway id="sid-${WFProcess.getDeployId()}"></exclusiveGateway>
<#elseif WFProcess.getWFProcessType()=='PROCESS'> <#elseif WFProcess.getWFProcessType()=='PROCESS'>
<serviceTask id="sid-${WFProcess.getDeployId()}" name="${WFProcess.getName()}" flowable:expression="${r'${wfCoreService.execute(exec, activedata)}'}" > <serviceTask id="sid-${WFProcess.getDeployId()}" name="${WFProcess.getName()}" flowable:expression="${r'${wfCoreService.execute(execution, activedata)}'}" >
<extensionElements> <extensionElements>
<flowable:field name="service-entity"><flowable:string>${srfpluralize(WFProcess.getPSDataEntity().getCodeName()?lower_case)}</flowable:string></flowable:field> <flowable:field name="service-entity"><flowable:string>${srfpluralize(WFProcess.getPSDataEntity().getCodeName()?lower_case)}</flowable:string></flowable:field>
<flowable:field name="service-deaction"><flowable:string>${WFProcess.getPSDEAction().getCodeName()?lower_case}</flowable:string></flowable:field> <flowable:field name="service-deaction"><flowable:string>${WFProcess.getPSDEAction().getCodeName()?lower_case}</flowable:string></flowable:field>
...@@ -207,36 +207,36 @@ TARGET=PSWFVERSION ...@@ -207,36 +207,36 @@ TARGET=PSWFVERSION
</#list> </#list>
</#if> </#if>
</process> </process>
<#--<#comment>下面定义图形位置</#comment>--> <#comment>下面定义图形位置</#comment>
<#--<bpmndi:BPMNDiagram id="BPMNDiagram_${sys.getCodeName()?lower_case}-${item.codeName?lower_case}">--> <bpmndi:BPMNDiagram id="BPMNDiagram_${sys.getCodeName()?lower_case}-${item.codeName?lower_case}">
<#--<bpmndi:BPMNPlane id="BPMNPlane_${sys.getCodeName()?lower_case}-${item.codeName?lower_case}" bpmnElement="${sys.getCodeName()?lower_case}-${item.codeName?lower_case}">--> <bpmndi:BPMNPlane id="BPMNPlane_${sys.getCodeName()?lower_case}-${item.codeName?lower_case}" bpmnElement="${sys.getCodeName()?lower_case}-${item.codeName?lower_case}">
<#--<#comment>绘制处理节点</#comment>--> <#comment>绘制处理节点</#comment>
<#--<#if item.getPSWFProcesses?? && item.getPSWFProcesses()??>--> <#if item.getPSWFProcesses?? && item.getPSWFProcesses()??>
<#--<#list item.getPSWFProcesses() as WFProcess>--> <#list item.getPSWFProcesses() as WFProcess>
<#--<#assign sourceProcessId="sid-"+WFProcess.getDeployId()>--> <#assign sourceProcessId="sid-"+WFProcess.getDeployId()>
<#--<#if WFProcess.getWFProcessType()=='INTERACTIVE'>--> <#if WFProcess.getWFProcessType()=='INTERACTIVE'>
<#--<#assign sourceProcessId="tid-"+WFProcess.getWFStepValue()+"-"+WFProcess.getDeployId()>--> <#assign sourceProcessId="tid-"+WFProcess.getWFStepValue()+"-"+WFProcess.getDeployId()>
<#--</#if>--> </#if>
<#--<bpmndi:BPMNShape id="BPMNShape-${WFProcess.getDeployId()}" bpmnElement="${sourceProcessId}">--> <bpmndi:BPMNShape id="BPMNShape-${WFProcess.getDeployId()}" bpmnElement="${sourceProcessId}">
<#--<di:Bounds x="${WFProcess.getLeftPos()?c}" y="${WFProcess.getTopPos()?c}" width="${WFProcess.getWidth()?c}" height="${WFProcess.getHeight()?c}" />--> <di:Bounds x="${WFProcess.getLeftPos()?c}" y="${WFProcess.getTopPos()?c}" width="${WFProcess.getWidth()?c}" height="${WFProcess.getHeight()?c}" />
<#--</bpmndi:BPMNShape>--> </bpmndi:BPMNShape>
<#--</#list>--> </#list>
<#--</#if>--> </#if>
<#--<#comment>绘制节点连线</#comment>--> <#comment>绘制节点连线</#comment>
<#--<#if item.getPSWFLinks?? && item.getPSWFLinks()??>--> <#if item.getPSWFLinks?? && item.getPSWFLinks()??>
<#--<#list item.getPSWFLinks() as WFLink>--> <#list item.getPSWFLinks() as WFLink>
<#--<#assign flowId="rid-"+WFLink.getDeployId()>--> <#assign flowId="rid-"+WFLink.getDeployId()>
<#--<#if WFLink.getWFLinkType()!='ROUTE'>--> <#if WFLink.getWFLinkType()!='ROUTE'>
<#--<#assign flowId="lid-"+WFLink.getName()+"-"+WFLink.getDeployId()>--> <#assign flowId="lid-"+WFLink.getName()+"-"+WFLink.getDeployId()>
<#--</#if>--> </#if>
<#--<bpmndi:BPMNEdge id="BPMNEdge-${flowId}" bpmnElement="${flowId}">--> <bpmndi:BPMNEdge id="BPMNEdge-${flowId}" bpmnElement="${flowId}">
<#--<di:waypoint x="0" y="0" />--> <di:waypoint x="0" y="0" />
<#--<di:waypoint x="0" y="0" />--> <di:waypoint x="0" y="0" />
<#--</bpmndi:BPMNEdge>--> </bpmndi:BPMNEdge>
<#--</#list>--> </#list>
<#--</#if>--> </#if>
<#--</bpmndi:BPMNPlane>--> </bpmndi:BPMNPlane>
<#--</bpmndi:BPMNDiagram>--> </bpmndi:BPMNDiagram>
</definitions> </definitions>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册