import request from '@/utils/request'

// 查询地图点位数据列表
export function getIsMapPointPage(query) {
  return request({
    url: '/iscs/map-point/getIsMapPointPage',
    method: 'get',
    params: query
  })
}

// 查询地图点位数据详细
export function selectIsMapPointById(id) {
  return request({
    url: '/iscs/map-point/selectIsMapPointById?id=' + id,
    method: 'get'
  })
}

// 新增地图点位数据配置
export function insertIsMapPoint(data) {
  return request({
    url: '/iscs/map-point/insertIsMapPoint',
    method: 'post',
    data: data
  })
}

// 修改地图点位数据配置
export function updateIsMapPoint(data) {
  return request({
    url: '/iscs/map-point/updateIsMapPoint',
    method: 'post',
    data: data
  })
}

// 删除地图点位数据配置
export function deleteIsMapPointByIds(ids) {
  return request({
    url: '/iscs/map-point/deleteIsMapPointByIds?ids=' + ids,
    method: 'post'
  })
}
// /dev-api/iscs/map-point/updateMapPointList 地图点位数据变更（绑定 位移 解绑）
export function updateMapPointList(data) {
  return request({
    url: '/iscs/map-point/updateMapPointList',
    method: 'post',
    data: data
  })
}

