package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 保养记录Service
 *
 * @author 科技小王子
 * @since 2024-02-22 13:44:23
 */
public interface TowerSecurityRecordService extends IService<TowerSecurityRecord> {

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

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

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

}
