select id,
cloud_name,
file_name,
folder_name,
file_size,
associated_state,
group_id,
create_by,
create_time,
update_by,
update_time,
file_path
from ard_point_cloud
SELECT
a.id,
a.cloud_name,
a.file_name,
a.folder_name,
a.file_size,
a.associated_state,
a.group_id,
a.file_path,
c.id AS route_id,
c.name,
c.create_time as route_create_time,
e.dict_label as aircraft,
d.group_name as route_group_name
FROM
ard_point_cloud a
LEFT JOIN ard_route_cloud b ON a.id = b.cloud_id
LEFT JOIN ard_route_info c ON b.route_id = c.id
LEFT JOIN sys_dict_data e ON c.aircraft = e.dict_value
LEFT JOIN ard_route_group d ON c.group_id = d.serial_number
insert into ard_point_cloud
id,cloud_name,file_name,folder_name,file_size,associated_state,group_id,create_by,create_time,update_by,update_time,file_path,#{id},#{cloudName},#{fileName},#{folderName},#{fileSize},#{associatedState},#{groupId},#{createBy},#{createTime},#{updateBy},#{updateTime},#{filePath},
update ard_point_cloud
cloud_name = #{cloudName},file_name = #{fileName},folder_name = #{folderName},file_size = #{fileSize},associated_state = #{associatedState},group_id = #{groupId},create_by = #{createBy},create_time = #{createTime},update_by = #{updateBy},update_time = #{updateTime},file_path = #{filePath},
where id = #{id}
delete from ard_point_cloud where id = #{id}
delete from ard_point_cloud where id in
#{id}