提交 9402c38d 编写于 作者: zhouweidong's avatar zhouweidong

test行为用户扩展

上级 b5814c3f
...@@ -5,9 +5,12 @@ TARGET=PSDATAENTITY ...@@ -5,9 +5,12 @@ TARGET=PSDATAENTITY
<#assign hasServiceEx=false> <#assign hasServiceEx=false>
<#if item.getAllPSDEActions()??> <#if item.getAllPSDEActions()??>
<#list item.getAllPSDEActions() as deaction> <#list item.getAllPSDEActions() as deaction>
<#if deaction.isEnableBackend() && (deaction.getActionType()=='USERCUSTOM' || deaction.getTestActionMode() ==1 || deaction.getTestActionMode() ==3 )> <#if deaction.isEnableBackend() && deaction.getActionType()=='USERCUSTOM'>
<#assign hasServiceEx=true> <#assign hasServiceEx=true>
<#break> <#break>
<#elseif deaction.isEnableBackend() && deaction.getTestActionMode?? && deaction.getTestActionMode()?? && (deaction.getTestActionMode() ==1 || deaction.getTestActionMode() ==3)>
<#assign hasServiceEx=true>
<#break>
</#if> </#if>
</#list> </#list>
</#if> </#if>
...@@ -64,7 +67,7 @@ public class ${item.codeName}ServiceEx extends ${item.codeName}ServiceImpl { ...@@ -64,7 +67,7 @@ public class ${item.codeName}ServiceEx extends ${item.codeName}ServiceImpl {
<#comment>输出测试行为</#comment> <#comment>输出测试行为</#comment>
<#macro outputTestActionDetail deaction> <#macro outputTestActionDetail deaction>
<#if deaction.getTestActionMode() ==1 || deaction.getTestActionMode() ==3 > <#if deaction.getTestActionMode?? && deaction.getTestActionMode()?? && deaction.getTestActionMode() ==1 || deaction.getTestActionMode() ==3 >
<#if (deaction.getActionType()=='USERCUSTOM')> <#if (deaction.getActionType()=='USERCUSTOM')>
@Override @Override
@Transactional @Transactional
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册