select a.id,
a.map_name,
a.image,
a.zoom_type,
a.zoom_level,
a.coordinate_type,
a.center_longitude,
a.center_latitude,
a.left_longitude,
a.left_latitude,
a.right_longitude,
a.right_latitude,
a.create_time,
a.create_by,
a.update_time,
a.update_by,
a.del_flag,
a.dept_id
from zdy_point_map a
left join sys_dept d on d.dept_id = a.dept_id
insert into zdy_point_map
map_name,
image,
zoom_type,
zoom_level,
coordinate_type,
center_longitude,
center_latitude,
left_longitude,
left_latitude,
right_longitude,
right_latitude,
create_by,
dept_id,
create_time,del_flag,
#{mapName},
#{image},
#{zoomType},
#{zoomLevel},
#{coordinateType},
#{centerLongitude},
#{center_latitude},
#{leftLongitude},
#{leftLatitude},
#{rightLongitude},
#{rightLatitude},
#{createBy},
#{deptId},
sysdate(), '0',
update zdy_point_map
map_name =
#{mapName},
image =
#{image},
zoom_type =
#{zoomType},
zoom_level =
#{zoomLevel},
coordinate_type =
#{coordinateType},
center_longitude =
#{centerLongitude},
center_latitude =
#{centerLatitude},
left_longitude =
#{leftLongitude},
left_latitude =
#{leftLatitude},
right_longitude =
#{rightLongitude},
right_latitude =
#{rightLatitude},
update_by =
#{updateBy},
dept_id =
#{deptId},
update_time = sysdate(),
where id = #{id}
delete
from zdy_point_map
where id = #{id}
delete from zdy_point_map where id in
#{id}