import request from '@/utils/request';
import { BackOrderVO, BackOrderQuery, TableDataInfo } from './types';
import { AxiosPromise } from 'axios';

/**
 * 查询背调订单列表
 */
export const listBackOrder = (query?: BackOrderQuery): AxiosPromise<TableDataInfo<BackOrderVO>> => {
  return request({
    url: '/system/backOrder/list',
    method: 'get',
    params: query
  });
};
