insert into voc_vals (id, x, y, val, create_time) values (${id}, ${x}, ${y}, ${val}, ${createTime}); insert into voc_vals (id, x, y, val, create_time) values (${item.id}, #{item.x},#{item.y},#{item.val},#{item.createTime}) delete from voc_vals where create_time < date_sub(now(), interval 1 year); delete from voc_vals where date_format(create_time, '%Y%m%d%H') = ${time};