id,
robot_task_id,
task_type,
release_type,
take_type,
release_id,
take_id,
from_location_no,
from_location_id,
from_lane_id,
to_lane_id,
to_location_no,
to_location_id,
robot_no,
robot_action,
task_status,
task_stage,
start_time,
end_time,
creator,
create_time,
updater,
update_time,
deleted,
tenant_id,
from_location_storey,
to_location_storey,
priority,
from_location_number,
to_location_number,
from_map_item_id,
need_lock,
to_map_item_id
update robot_task_detail
robot_task_id = #{robotTaskId},
task_type = #{taskType},
release_type = #{releaseType},
take_type = #{takeType},
release_id = #{releaseId},
take_id = #{takeId},
from_location_no = #{fromLocationNo},
from_location_id = #{fromLocationId},
to_location_no = #{toLocationNo},
to_location_id = #{toLocationId},
robot_no = #{robotNo},
robot_action = #{robotAction},
task_status = #{taskStatus},
task_stage = #{taskStage},
start_time = #{startTime},
end_time = #{endTime},
creator = #{creator},
create_time = #{createTime},
updater = #{updater},
update_time = #{updateTime},
deleted = #{deleted},
where id = #{id}
update
robot_task_detail
set
task_status = '2',
task_stage = '5'
where
id in
#{id}
delete
from robot_task_detail
where id = #{id}