package com.ruoyi.info.order.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import com.ruoyi.info.hospital.domain.vo.HospitalStatisticsVo;
import com.ruoyi.info.order.domain.Order;
import com.ruoyi.info.order.domain.bo.OrderBo;
import com.ruoyi.info.order.domain.vo.OrderVo;
import com.ruoyi.info.order.domain.vo.OrderWorkerSumVo;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单Mapper接口
 *
 * @author ruoyi
 * @date 2025-09-20
 */
public interface OrderMapper extends BaseMapperPlus<OrderMapper, Order, OrderVo> {

    Page<OrderVo> queryAllPageList(@Param("bo") OrderBo bo, @Param("page") Page<Order> page);

    List<OrderVo> queryAllList(@Param("bo") OrderBo bo);

    List<HospitalStatisticsVo> queryHospitalOrderStatistics();

    List<OrderWorkerSumVo> selectOrderWorkerSum();
}
