package com.fjhx.mapper.supplier;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fjhx.entity.supplier.SupplierPrice;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 供应商价格维护 Mapper 接口
 * </p>
 *
 * @author ${author}
 * @since 2022-09-07
 */
public interface SupplierPriceMapper extends BaseMapper<SupplierPrice> {

    List<Map<String, Object>> getList(@Param("ew") QueryWrapper<?> wrapper);

    Page<Map<String, Object>> getPage(@Param("page") Page<SupplierPrice> page, @Param("ew") QueryWrapper<?> wrapper);

}
