package com.jwipc.order.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.jwipc.order.entity.AppointmentPurchase;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jwipc.order.model.po.AppointmentPurchasePO;
import com.jwipc.order.model.query.AppointmentPurchaseQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 低值供应商采购类预约 Mapper 接口
 * </p>
 *
 * @author WT
 * @since 2024-03-06
 */
public interface AppointmentPurchaseMapper extends BaseMapper<AppointmentPurchase> {
    /**
     * 查询列表 不分页
     * @param query
     * @return
     */
    List<AppointmentPurchasePO> selectListByPage(@Param("query") AppointmentPurchaseQuery query);

    /**
     * 查询列表分页
     * @param dbPage
     * @param query
     * @return
     */
    List<AppointmentPurchasePO> selectListByPage(@Param("dbPage") Page<AppointmentPurchase> dbPage, @Param("query") AppointmentPurchaseQuery query);
}
