package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 塔吊设备管理Service
 *
 * @author 科技小王子
 * @since 2023-05-20 15:06:43
 */
public interface TowerEquipmentService extends IService<TowerEquipment> {

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

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

    /**
     * 根据id查询
     *
     * @param equipmentId 自增ID
     * @return TowerEquipment
     */
    TowerEquipment getByIdRel(Integer equipmentId);

}
