#foreach($table in $tables) #if($last_insert_id_tables.size() != 0) #foreach($last_insert_id_table in $last_insert_id_tables.entrySet()) #if($!last_insert_id_table.key == $!table.table_name)
#else
#end #end #else
#end #end