import request from '@/utils/request'

// 查询成品查询结果(数据同步)列表
export function listWmsImportResult(query) {
  return request({
    url: '/warehouse/WmsImportResult/list',
    method: 'get',
    params: query
  })
}

// 查询成品查询结果(数据同步)详细
export function getWmsImportResult(model) {
  return request({
    url: '/warehouse/WmsImportResult/detail',
    method: 'get',
    params: { model }
  })
}

// 新增成品查询结果(数据同步)
export function addWmsImportResult(data) {
  return request({
    url: '/warehouse/WmsImportResult',
    method: 'post',
    data: data
  })
}

// 修改成品查询结果(数据同步)
export function updateWmsImportResult(data) {
  return request({
    url: '/warehouse/WmsImportResult',
    method: 'put',
    data: data
  })
}

// 删除成品查询结果(数据同步)
export function delWmsImportResult(model) {
  return request({
    url: '/warehouse/WmsImportResult/' + model,
    method: 'delete'
  })
}
