四零语境后端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
490 B

1 month ago
  1. <#list sub.colums as po>
  2. <#if po.isShow == 'Y' && po.fieldName != 'id'>
  3. <#if po.fieldDbType=='int' || po.fieldDbType=='double' || po.fieldDbType=='BigDecimal'>
  4. ${po.fieldName}: <#if po.defaultVal??>${po.defaultVal}<#else>undefined</#if>,
  5. <#elseif po.fieldDbType=='Blob'>
  6. ${po.fieldName}String: <#if po.defaultVal??>'${po.defaultVal}'<#else>''</#if>,
  7. <#else>
  8. ${po.fieldName}: <#if po.defaultVal??>'${po.defaultVal}'<#else>''</#if>,
  9. </#if>
  10. </#if>
  11. </#list>