package com.xinelu.manage.service.orderstatistics.impl;

import com.xinelu.manage.mapper.orderstatistics.OrderStatisticsMapper;
import com.xinelu.manage.service.orderstatistics.OrderStatisticsService;
import com.xinelu.manage.vo.orderstatistics.OrderStatisticsVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


/**
 * 订单统计Service业务层处理
 *
 * @author xinyilu
 * @date 2023-11-27
 */
@Service
public class OrderStatisticsServiceImpl implements OrderStatisticsService {

    @Resource
    private OrderStatisticsMapper orderStatisticsMapper;

    /**
     * 查询护理站订单数量计价格
     *
     * @return OrderStatisticsVO
     */
    @Override
    public List<OrderStatisticsVO> selectAppointmentOrderCount() {
        return orderStatisticsMapper.selectAppointmentOrderCount();
    }
}