select id, create_by, create_time, update_by, update_time, remark, robot_code, robot_name, robot_model, robot_type, ip_address, port, current_map_id, status, battery_level, current_position, terminal_id from inspection_robot
insert into inspection_robot
id,
create_by,
create_time,
update_by,
update_time,
remark,
robot_code,
robot_name,
robot_model,
robot_type,
ip_address,
port,
current_map_id,
status,
battery_level,
current_position,
terminal_id,
#{id},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
#{robotCode},
#{robotName},
#{robotModel},
#{robotType},
#{ipAddress},
#{port},
#{currentMapId},
#{status},
#{batteryLevel},
#{currentPosition},
#{terminalId},
update inspection_robot
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
robot_code = #{robotCode},
robot_name = #{robotName},
robot_model = #{robotModel},
robot_type = #{robotType},
ip_address = #{ipAddress},
port = #{port},
current_map_id = #{currentMapId},
status = #{status},
battery_level = #{batteryLevel},
current_position = #{currentPosition},
terminal_id = #{terminalId},
where id = #{id}
delete from inspection_robot where id = #{id}
delete from inspection_robot where id in
#{id}