package com.zsElectric.boot.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zsElectric.boot.business.model.entity.FirmStationTimePrice;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsElectric.boot.business.model.query.FirmStationTimePriceQuery;
import com.zsElectric.boot.business.model.dto.ExclusivePriceDTO;
import com.zsElectric.boot.business.model.vo.FirmStationTimePriceVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 企业专属价格Mapper接口
 *
 * @author zsElectric
 * @since 2025-12-11 10:13
 */
@Mapper
public interface FirmStationTimePriceMapper extends BaseMapper<FirmStationTimePrice> {

    /**
     * 获取企业专属价格分页数据
     *
     * @param page 分页对象
     * @param queryParams 查询参数
     * @return {@link Page<FirmStationTimePriceVO>} 企业专属价格分页列表
     */
    Page<FirmStationTimePriceVO> getFirmStationTimePricePage(Page<FirmStationTimePriceVO> page, FirmStationTimePriceQuery queryParams);

    Page<ExclusivePriceDTO> getExclusivePriceList(Page<ExclusivePriceDTO> page,@Param("stationId") Long stationId, @Param("firmId") Long firmId );
}
