#if ($subTable.subJoinMany) ## 一对多
#foreach($column in $subColumns)
#if ($column.createOperation || $column.updateOperation)
#set ($comment = $column.columnComment)
#set ($javaField = $column.javaField)
#set ($javaType = $column.javaType)
#if ($javaType == "Integer" || $javaType == "Long" || $javaType == "Byte" || $javaType == "Short")
#set ($dictMethod = "number")
#elseif ($javaType == "String")
#set ($dictMethod = "string")
#elseif ($javaType == "Boolean")
#set ($dictMethod = "boolean")
#end
#if ( $column.id == $subJoinColumn.id) ## 特殊:忽略主子表的 join 字段,不用填写
#elseif ($column.htmlType == "input" && !$column.primaryKey)## 忽略主键,不用在表单里
#elseif($column.htmlType == "imageUpload")## 图片上传
#elseif($column.htmlType == "fileUpload")## 文件上传
#elseif($column.htmlType == "select")## 下拉框
#elseif($column.htmlType == "checkbox")## 多选框
#if ("" != $dictType)## 有数据字典
{{ dict.label }}
#else##没数据字典
#end
#elseif($column.htmlType == "radio")## 单选框
#if ("" != $dictType)## 有数据字典
{{ dict.label }}
#else##没数据字典
请选择字典生成
#end
#elseif($column.htmlType == "datetime")## 时间框
#elseif($column.htmlType == "textarea" || $column.htmlType == "editor")## 文本框
#end
#end
#end
#else
#elseif($column.htmlType == "imageUpload")## 图片上传
#elseif($column.htmlType == "fileUpload")## 文件上传
#elseif($column.htmlType == "editor")## 文本编辑器
#elseif($column.htmlType == "select")## 下拉框
#elseif($column.htmlType == "checkbox")## 多选框
#if ("" != $dictType)## 有数据字典
{{ dict.label }}
#else##没数据字典
#end
#elseif($column.htmlType == "radio")## 单选框
#if ("" != $dictType)## 有数据字典
{{ dict.label }}
#else##没数据字典
请选择字典生成
#end
#elseif($column.htmlType == "datetime")## 时间框
#elseif($column.htmlType == "textarea")## 文本框
#end
#end
#end
#end