package com.jwipc.supplier.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.supplier.entity.RelationBid;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.supplier.model.po.RelationBidPO;
import com.jwipc.supplier.model.po.SupplierAgreementPO;
import com.jwipc.supplier.model.query.SupRelationBidQuery;
import com.jwipc.supplier.model.query.SupplierAgreementQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 代理商关系维护表 Mapper 接口
 * </p>
 *
 * @author Al
 * @since 2024-03-26
 */

public interface RelationBidMapper extends BaseMapper<RelationBid> {
    List<RelationBidPO> findPageByQuery(@Param("query") SupRelationBidQuery query);

    List<RelationBidPO> findPageByQuery(Page<RelationBid> dbPage, @Param("query") SupRelationBidQuery query);

    RelationBidPO getDataById(@Param("id") Long id);
}
