import request from '@/utils/request'

// 查询人工传入异常信息--分页 /dev-api/iscs/materials/getIsMaterialsPage
export function getIsExceptionPage(query) {
  return request({
    url: '/iscs/exception/getIsExceptionPage',
    method: 'get',
    params: query
  })
}

// 新增人工传入异常信息 /dev-api/iscs/materials/insertIsMaterials
export function insertIsException(data) {
  return request({
    url: '/iscs/exception/insertIsException',
    method: 'post',
    data: data
  })
}

// 修改人工传入异常信息
export function updateIsException(data) {
  return request({
    url: '/iscs/exception/updateIsException',
    method: 'post',
    data: data
  })
}

// 删除人工传入异常信息
export function deleteIsExceptionByExceptionIds(data) {
  return request({
    url: '/iscs/exception/deleteIsExceptionByExceptionIds?exceptionIds=' + data,
    method: 'post',
  })
}

// 获取人工传入异常详细信息
export function selectMaterialsById(query) {
  return request({
    url: '/iscs/exception/selectIsExceptionById?exceptionId=' + query,
    method: 'get',
  })
}





