package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 检查/保养部位记录表Service
 *
 * @author 科技小王子
 * @since 2023-06-08 11:00:17
 */
public interface TowerPlaceService extends IService<TowerPlace> {

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

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

    /**
     * 根据id查询
     *
     * @param placeId 参数ID
     * @return TowerPlace
     */
    TowerPlace getByIdRel(Integer placeId);

}
