select id, phone, send_time, until_time, code, type from js_validcode insert into js_validcode id, phone, send_time, until_time, code, type, #{id}, #{phone}, #{sendTime}, #{untilTime}, #{code}, #{type}, update js_validcode phone = #{phone}, send_time > #{sendTime}, until_time > #{untilTime}, code = #{code}, type = #{type}, where id = #{id} delete from js_validcode where id = #{id} delete from js_validcode where id in #{id}