<#include "../function.ftl"> <#include "../variable.ftl"> <#assign classVar=class?uncap_first> <#assign pkVar=convertUnderLine(pk) > <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@include file="/commons/include/html_doctype.html" %> <%@include file="/commons/page/codegen.jsp" %> <#if hasSub?exists && hasSub==true>
<#list commonList as col> <#assign colName=convertUnderLine(col.columnName)>
<#-- 子表部分 --> <#if hasSub?exists && hasSub==true> <#list model.subTableList as subTable>
<#list subTable.columnList as col> <#assign colName=convertUnderLine(col.columnName)> <#assign foreignKey=convertUnderLine(subTable.foreignKey)> <#if (!col.isPK && foreignKey != colName)> <#list subTable.columnList as col> <#assign colName=convertUnderLine(col.columnName)> <#assign foreignKey=convertUnderLine(subTable.foreignKey)> <#if (!col.isPK && foreignKey != colName)>
${subTable.getTabComment()}
${col.comment} 管理
<#-- 子表编辑模板 --> <#list model.subTableList as subTable>