select id, url, command, type, mac, sn, result, longitude, latitude, lon, lat, call_status, create_by, create_time, order_no, msg from et_command_log insert into et_command_log url, command, type, mac, sn, result, latitude, longitude, lat, lon, call_status, order_no, create_by, msg, create_time #{url}, #{command}, #{type}, #{mac}, #{sn}, #{result}, #{latitude}, #{longitude}, #{lat}, #{lon}, #{callStatus}, #{orderNo}, #{createBy}, #{msg}, sysdate() update et_command_log url = #{url}, command = #{command}, type = #{type}, mac = #{mac}, sn = #{sn}, result = #{result}, latitude = #{latitude}, longitude = #{longitude}, lat = #{lat}, lon = #{lon}, call_status = #{callStatus}, order_no = #{orderNo}, msg = #{msg}, where id = #{id} delete from et_command_log where id = #{id} delete from et_command_log where id in #{id}