import request from '@/utils/request' // 查询餐饮统计列表 export function listStatistics(query) { return request({ url: '/restaurant/statistics/list', method: 'get', params: query }) } // 查询餐饮统计详细 export function getStatistics(id) { return request({ url: '/restaurant/statistics/' + id, method: 'get' }) } // 修改餐饮统计 export function updateStatistics(data) { return request({ url: '/restaurant/statistics', method: 'put', data: data }) } //导出餐饮统计 export function exportStatistics(query) { return request({ url: '/restaurant/statistics/export', method: 'post', params: query }) } //校正数据 export function correctStatistics(data) { return request({ url: '/restaurant/statistics/correct', method: 'post', data: data }) }