package com.jwipc.tender.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.tender.entity.BidQuota;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.tender.model.po.BidQuotaPO;
import com.jwipc.tender.model.query.BidQuotaQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author AL
 * @since 2024-03-02
 */
public interface BidQuotaMapper extends BaseMapper<BidQuota> {
    //        su.username tenderCreaterName,
    //        LEFT JOIN sp_user su on t.create_id = su.id
    List<BidQuotaPO> findPageByQuery(@Param("query") BidQuotaQuery query);

    List<BidQuotaPO> findPageByQuery(Page<BidQuota> dbPage, @Param("query") BidQuotaQuery query);

}
