$foreach(column in genTable.Columns) $set(labelName = "") $set(columnName = "") $set(numLabel = "") $if(column.IsQuery == true) $set(columnName = column.CsharpFieldFl) $if(column.ColumnComment != "") $set(labelName = column.ColumnComment) $else $set(labelName = column.CsharpFieldFl) $end $if(column.CsharpType == "int" || column.CsharpType == "long") $set(numLabel = ".number") $end $if(column.HtmlType == "datetime") $elseif(column.HtmlType == "select" || column.HtmlType == "radio") $else $end $end $end