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

test行为用户扩展

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