insert into history_five_minutely_${yearAndMonth} values (#{map.mac},#{map.time},#{map.json}) CREATE TABLE IF NOT EXISTS `history_five_minutely_${yearAndMonth}` ( `mac` varchar(20) CHARACTER SET latin1 DEFAULT NULL, `time` datetime DEFAULT NULL, `json` json DEFAULT NULL ) ENGINE=INNODB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci