forked from lxm_tools/screw
⚡ 优化生成的markdown文件在IDEA编辑器中文档显示问题
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
</#if>
|
||||
|
||||
| 表名 | 说明 |
|
||||
| :-------------------- | :--------- |
|
||||
| :---: | :---: |
|
||||
<#list tables>
|
||||
<#items as t>
|
||||
| [${t.tableName!''}](#${t.tableName!''}) | ${t.remarks!''} |
|
||||
@@ -48,7 +48,7 @@
|
||||
|
||||
<#list t.columns>
|
||||
| 序号 | 名称 | 数据类型 | 长度 | 小数位 | 允许空值 | 主键 | 默认值 | 说明 |
|
||||
| :--: | :--- | :------: | :----: | :----: | :------: | :--: | :----: | :--: |
|
||||
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
||||
<#items as c>
|
||||
| ${c?index+1} | ${c.columnName!''} | ${c.typeName!''} | ${c.columnSize!''} | ${c.decimalDigits!'0'} | ${c.nullable!''} | ${c.primaryKey!''} | ${c.columnDef!''} | ${c.remarks!''} |
|
||||
</#items>
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#end
|
||||
|
||||
| 表名 | 说明 |
|
||||
| :-------------------- | :--------- |
|
||||
| :---: | :---: |
|
||||
#foreach($t in $_data.tables)
|
||||
| [$!{t.tableName}](#$!{t.tableName}) | $!{t.remarks} |
|
||||
#end
|
||||
@@ -43,7 +43,7 @@
|
||||
**数据列:**
|
||||
|
||||
| 序号 | 名称 | 数据类型 | 长度 | 小数位 | 允许空值 | 主键 | 默认值 | 说明 |
|
||||
| :--: | :--- | :------: | :----: | :----: | :------: | :--: | :----: | :--: |
|
||||
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
|
||||
#foreach($c in $t.columns)
|
||||
| $!{velocityCount} | $!{c.columnName} | $!{c.typeName} | $!{c.columnSize} | #if($!{c.decimalDigits})$!{c.decimalDigits}#else 0#end | $!{c.nullable}| $!{c.primaryKey} | $!{c.columnDef} | $!{c.remarks} |
|
||||
#end
|
||||
|
||||
Reference in New Issue
Block a user