#foreach($column in $columns) #end insert into ${tableName}( #foreach($column in $columns) #if($column.columnName != $pk.columnName || $pk.extra != 'auto_increment') `$column.columnName`#if($velocityCount != $columns.size()), #end #end #end ) values( #foreach($column in $columns) #if($column.columnName != $pk.columnName || $pk.extra != 'auto_increment') #{$column.attrname}#if($velocityCount != $columns.size()), #end #end #end ) update ${tableName} #foreach($column in $columns) #if($column.columnName != $pk.columnName) `$column.columnName` = #{$column.attrname}#if($velocityCount != $columns.size()), #end #end #end where ${pk.columnName} = #{${pk.attrname}} delete from ${tableName} where ${pk.columnName} = #{value} delete from ${tableName} where ${pk.columnName} in #{${pk.attrname}}