package com.gxwebsoft.tower.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.tower.entity.TowerPurchase;
import com.gxwebsoft.tower.param.TowerPurchaseParam;

import java.util.List;

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

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<TowerPurchase>
     */
    PageResult<TowerPurchase> pageRel(TowerPurchaseParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<TowerPurchase>
     */
    List<TowerPurchase> listRel(TowerPurchaseParam param);

    /**
     * 根据id查询
     *
     * @param purchaseId ID
     * @return TowerPurchase
     */
    TowerPurchase getByIdRel(Integer purchaseId);

}
