vue3-template.vue-list-template.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ktmyoql-code-generator Show documentation
Show all versions of ktmyoql-code-generator Show documentation
kotlin orm -- mysql,mongo , just like ktorm
The newest version!
添加
<#list fields as field>
<#if field.getName() == "id">
<#elseif field.getName() == "creator" || field.getName() == "createBy">
<#elseif field.getName() == "updater" || field.getName() == "updateBy">
<#elseif field.getName() == "createAt">
<#elseif field.getName() == "updateAt">
<#elseif field.getName() == "name">
{{ scope.row.name }}
<#elseif field.getType().isEnum()>
{{scope.row.${field.getName()}_res}}
<#elseif fieldIsEnumList(field)>
{{item}}
<#elseif isType(field,"IdName")>
<#elseif isType(field,"IdUrl")>
<#else>
#if>
#list>
<#if hasField(entity,"status")>
设置状态
#if>
删除
<#if hasField(entity,"name")>
#if>