将其他类型调整为VARCHAR

This commit is contained in:
makejava 2021-02-01 15:09:48 +08:00
parent 9831882b3f
commit 81243b45d5
1 changed files with 2 additions and 2 deletions

View File

@ -20,10 +20,10 @@
#set($jdbcType="TIMESTAMP")
#else
##其他类型
#set($jdbcType="OTHER")
#set($jdbcType="VARCHAR")
#end
$tool.call($column.ext.put("jdbcType", $jdbcType))
#end
##定义宏,查询所有列
#macro(allSqlColumn)#foreach($column in $tableInfo.fullColumn)$column.obj.name#if($velocityHasNext), #end#end#end
#macro(allSqlColumn)#foreach($column in $tableInfo.fullColumn)$column.obj.name#if($velocityHasNext), #end#end#end