package com.gxwebsoft.tower.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.tower.entity.TowerSecurity;
import com.gxwebsoft.tower.param.TowerSecurityParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

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

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<TowerSecurity>
     */
    List<TowerSecurity> selectPageRel(@Param("page") IPage<TowerSecurity> page,
                             @Param("param") TowerSecurityParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<TowerSecurity> selectListRel(@Param("param") TowerSecurityParam param);

}
