From dbf9d83acced0337b4769640c2acbf247bf9a04c Mon Sep 17 00:00:00 2001 From: SanLi <2689170096@qq.com> Date: Thu, 25 Jun 2020 19:11:44 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E6=96=B0=E5=A2=9Eword=E6=96=87?= =?UTF-8?q?=E6=A1=A3=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../template/velocity/documentation_word.vm | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) 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