package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 拆借管理Service
 *
 * @author 科技小王子
 * @since 2023-06-15 10:29:54
 */
public interface TowerLendingService extends IService<TowerLending> {

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

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

    /**
     * 根据id查询
     *
     * @param lendingId 
     * @return TowerLending
     */
    TowerLending getByIdRel(Integer lendingId);

}
