提交 5c169d87 编写于 作者: zhouweidong's avatar zhouweidong

工作流角色调整

上级 23b315e9
...@@ -11,13 +11,14 @@ TARGET=PSWFVERSION ...@@ -11,13 +11,14 @@ TARGET=PSWFVERSION
<extensionElements> <extensionElements>
<flowable:eventListener delegateExpression="${r'${processInstanceListener}'}" /> <flowable:eventListener delegateExpression="${r'${processInstanceListener}'}" />
<#if item.getPSWFProcesses?? && item.getPSWFProcesses()??> <#if item.getPSWFProcesses?? && item.getPSWFProcesses()??>
<#assign rolesList="">
<#list item.getPSWFProcesses() as WFProcess> <#list item.getPSWFProcesses() as WFProcess>
<#if WFProcess.getPSWFProcessRoles?? && WFProcess.getPSWFProcessRoles()??> <#if WFProcess.getPSWFProcessRoles?? && WFProcess.getPSWFProcessRoles()??>
<#assign rolesList="">
<#list WFProcess.getPSWFProcessRoles() as processRole> <#list WFProcess.getPSWFProcessRoles() as processRole>
<#assign processRoleType=processRole.getWFProcessRoleType()> <#assign processRoleType=processRole.getWFProcessRoleType()>
<#if processRoleType=='WFROLE'> <#if processRoleType=='WFROLE'>
<#if processRole.getPSWFRole()?? && processRole.getPSWFRole().getCodeName()??> <#if processRole.getPSWFRole()?? && processRole.getPSWFRole().getCodeName()??>
<#if !P.exists("refgroups",processRole.getPSWFRole().getCodeName())>
<#if rolesList!=""><#assign rolesList=rolesList+","></#if> <#if rolesList!=""><#assign rolesList=rolesList+","></#if>
<#assign rolesList=rolesList+processRole.getPSWFRole().getCodeName()+"|"+processRole.getPSWFRole().getName()+"|"+processRole.getPSWFRole().getWFRoleType()> <#assign rolesList=rolesList+processRole.getPSWFRole().getCodeName()+"|"+processRole.getPSWFRole().getName()+"|"+processRole.getPSWFRole().getWFRoleType()>
<#if processRole.getPSWFRole().getWFRoleType()=="DEDATASET"> <#if processRole.getPSWFRole().getWFRoleType()=="DEDATASET">
...@@ -25,6 +26,9 @@ TARGET=PSWFVERSION ...@@ -25,6 +26,9 @@ TARGET=PSWFVERSION
</#if> </#if>
</#if> </#if>
</#if> </#if>
</#if>
</#list>
</#if>
</#list> </#list>
<#if rolesList!=""> <#if rolesList!="">
<flowable:field name="refgroups"> <flowable:field name="refgroups">
...@@ -32,8 +36,6 @@ TARGET=PSWFVERSION ...@@ -32,8 +36,6 @@ TARGET=PSWFVERSION
</flowable:field> </flowable:field>
</#if> </#if>
</#if> </#if>
</#list>
</#if>
<#if item.getPSWorkflow()?? && item.getPSWorkflow().getPSWFDEs()??> <#if item.getPSWorkflow()?? && item.getPSWorkflow().getPSWFDEs()??>
<#assign des=""> <#assign des="">
<#list item.getPSWorkflow().getPSWFDEs() as wfde> <#list item.getPSWorkflow().getPSWFDEs() as wfde>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册