package com.gxwebsoft.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.shop.entity.ShopSurchargeConfig;
import com.gxwebsoft.shop.param.ShopSurchargeConfigParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 步梯费用设置Mapper
 *
 * @author xm
 * @since 2026-04-28 16:30:00
 */
public interface ShopSurchargeConfigMapper extends BaseMapper<ShopSurchargeConfig> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<ShopSurchargeConfig>
     */
    List<ShopSurchargeConfig> selectPageRel(@Param("page") IPage<ShopSurchargeConfig> page,
                             @Param("param") ShopSurchargeConfigParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<ShopSurchargeConfig> selectListRel(@Param("param") ShopSurchargeConfigParam param);

}
