package com.gxwebsoft.tower.mapper;

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

import java.util.List;

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

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

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

}
