package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 安全巡检部位管理表Service
 *
 * @author 科技小王子
 * @since 2023-06-08 11:00:17
 */
public interface TowerPlaceSafetyService extends IService<TowerPlaceSafety> {

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

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

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

}
