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

预置属性

上级 be2797b4
...@@ -75,7 +75,8 @@ public class ${item.getCodeName()} extends EntityMP implements Serializable { ...@@ -75,7 +75,8 @@ public class ${item.getCodeName()} extends EntityMP implements Serializable {
<#assign jsonfield = defield.getCodeName()?lower_case > <#assign jsonfield = defield.getCodeName()?lower_case >
<#assign tablefieldano = "value = \""+columnname+"\"" > <#assign tablefieldano = "value = \""+columnname+"\"" >
<#assign defieldano = "" > <#assign defieldano = "" >
<#if prvateCodeName?lower_case != columnname> <#comment>发预置属性用于拼权限条件</#comment>
<#if prvateCodeName?lower_case != columnname || ((defield.getPredefinedType())!'')=='orgid' || ((defield.getPredefinedType())!'')=='orgsectorid'>
<#assign defieldano = "name = \""+columnname+"\""> <#assign defieldano = "name = \""+columnname+"\"">
</#if> </#if>
<#if defield.getDefaultValue()?? && defield.getDefaultValue()!=''> <#if defield.getDefaultValue()?? && defield.getDefaultValue()!=''>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册