import request from '@/config/axios'

// 物资异常查询参数
export interface ExceptionQuery {
  current: number
  size: number
  materialsName?: string
  exceptionType?: number
  exceptionStatus?: number
  startTime?: Date
  endTime?: Date
}


// 查询物资异常列表 (传递参数exceptionType是1就是柜门异常 现在是归还异常)
export const returnExceptionPage = async (params: ExceptionQuery) => {
  return await request.get({
    // url: '/iscs/exception/getExceptionPage',
    url: '/iscs/exception-misplace/getExceptionMisplacePage',
    params
  })
}


