diff --git a/screw-core/src/main/resources/template/velocity/documentation_word.vm b/screw-core/src/main/resources/template/velocity/documentation_word.vm index 30191c0..2dcc669 100644 --- a/screw-core/src/main/resources/template/velocity/documentation_word.vm +++ b/screw-core/src/main/resources/template/velocity/documentation_word.vm @@ -14,4 +14,21 @@ * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . - *# + *#$!{_data.title}数据库名:$!{_data.database} + #*版本*# + #if(${_data.description}) + 文档版本:$!{_data.version} + #end + #*描述*# + #if(${_data.description}) + 文档描述:$!{_data.description} + #end + #*表名*# + #foreach($t in $_data.tables) + $!{t.tableName}编号名称数据类型长度小数位允许空值主键默认值说明 + #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 + + #end + $!{_data.title}screwscrew20117100Microsoft Office Word011falsefalse116falsefalse16.00002052-11.1.0.9740 \ No newline at end of file