package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 标准节租金Service
 *
 * @author 科技小王子
 * @since 2024-02-05 15:04:19
 */
public interface TowerRentService extends IService<TowerRent> {

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

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

    /**
     * 根据id查询
     *
     * @param rentId 租单记录id
     * @return TowerRent
     */
    TowerRent getByIdRel(Integer rentId);

}
