package com.jwipc.contract.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.contract.entity.ContractDetail;
import com.jwipc.contract.entity.ContractPay;
import com.jwipc.contract.model.query.ChoseSupplierListQuery;
import com.jwipc.contract.model.query.ContractMangeQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.jwipc.contract.model.po.ContractDetailPO;
import com.jwipc.contract.model.query.ChoseSupplierListQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zx
 * @since 2024-03-13
 */
public interface ContractDetailMapper extends BaseMapper<ContractDetail> {
    List<ContractDetail> selectReceiptContractDetailListPage(Page<ContractDetail> page,@Param("query") ChoseSupplierListQuery query);
    List<ContractDetailPO> selectListByPage(@Param("query") ChoseSupplierListQuery query);

    List<ContractDetailPO> selectListByPage(Page<ContractDetailPO> dbPage, @Param("query") ChoseSupplierListQuery query);

    List<ContractDetail> selectReceiptContractDetailList(@Param("query")ChoseSupplierListQuery query);
}
