package com.gxwebsoft.tower.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.tower.entity.TowerPurchase;
import com.gxwebsoft.tower.param.TowerPurchaseParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 采购入库表Mapper
 *
 * @author 科技小王子
 * @since 2024-02-05 20:53:31
 */
public interface TowerPurchaseMapper extends BaseMapper<TowerPurchase> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<TowerPurchase>
     */
    List<TowerPurchase> selectPageRel(@Param("page") IPage<TowerPurchase> page,
                             @Param("param") TowerPurchaseParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<TowerPurchase> selectListRel(@Param("param") TowerPurchaseParam param);

}
