package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 安全检查Service
 *
 * @author 科技小王子
 * @since 2024-02-22 13:44:23
 */
public interface TowerSecurityService extends IService<TowerSecurity> {

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

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

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

}
