package com.czg.service.account.mapper;

import com.czg.account.vo.BookingOrderStatisticsVO;
import com.mybatisflex.core.BaseMapper;
import com.czg.account.entity.BkOrder;

import java.time.LocalDate;
import java.util.List;

/**
 * 预约单 映射层。
 *
 * @author ww
 * @since 2025-11-27
 */
public interface BkOrderMapper extends BaseMapper<BkOrder> {

    /**
     * 查询预约单统计信息
     */
    BookingOrderStatisticsVO bookingOrderStatistics(Long shopId, String search, LocalDate start, LocalDate end, String status);

    /**
     * 查询预约单列表
     */
    List<BkOrder> bookings(Long shopId, String search, LocalDate start, LocalDate end, String status);
}
