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

实体行为参数

上级 7fdcdba8
......@@ -2002,7 +2002,7 @@ ${deaction.getRender().code}
<#comment>实体行为参数</#comment>
<#macro addDEActionParam deaction>
<#if deaction.getParamMode?? && deaction.getParamMode()?? && deaction.getPSDEActionParams()??>
<#if deaction.getParamMode?? && deaction.getParamMode()?? && deaction.getPSDEActionParams()??>
<#list deaction.getPSDEActionParams() as actionParam>
<#assign actionParamValue="null">
<#assign targetFieldName="null">
......@@ -2030,12 +2030,12 @@ ${deaction.getRender().code}
<#elseif actionParam.getValueType()=='OPERATORNAME'><#comment>当前操作用户(名称)</#comment>
<#assign actionParamValue=pub.getPKGCodeName()+".util.security.AuthenticationUser.getAuthenticationUser().getPersonname()">
<#elseif actionParam.getValueType()=='CURTIME'><#comment>当前时间</#comment>
<#assign actionParamValue="new Timestamp(new Date().getTime())">
<#assign actionParamValue="new java.sql.Timestamp(new java.util.Date().getTime())">
<#elseif actionParam.getValueType()=='APPDATA'><#comment>当前应用数据</#comment>
</#if>
et.set("${actionParamFieldCodeName}",${actionParamValue});
</#list>
</#if>
</#if>
</#macro>
</#if>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册