{{ range .Columns -}}
{{- if (eq .IsList "1") -}}
{{- if (ne .FkTableName "") -}}
{{- else if (ne .DictType "") -}}
{{- if or (eq .GoType "int") (eq .GoType "int64")}}
{{- else }}
{{- end}}
{{- else if (eq .HtmlType "datetime") -}}
{{"{{"}} {{"dayjs"}}(row.{{.JsonField}}).format("YYYY-MM-DD HH:mm:ss") {{"}}"}}
{{- else if or (eq .HtmlType "select") (eq .HtmlType "radio") (eq .HtmlType "checkbox") -}}
{{- if or (eq .GoType "int") (eq .GoType "int64")}}
{{- else }}
{{- end}}
{{- end}}
{{- else if (eq .JsonField "createdAt") }}
{{"{{"}} {{"dayjs"}}(row.{{.JsonField}}).format("YYYY-MM-DD HH:mm:ss") {{"}}"}}
{{- end -}}
{{- end }}