package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 租单记录Service
 *
 * @author 科技小王子
 * @since 2023-06-13 00:42:42
 */
public interface TowerRentRecordService extends IService<TowerRentRecord> {

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

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

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

}
