package com.gxwebsoft.tower.mapper;

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

import java.util.List;

/**
 * 配件管理Mapper
 *
 * @author 科技小王子
 * @since 2023-05-22 11:53:48
 */
public interface TowerAccessoryMapper extends BaseMapper<TowerAccessory> {

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

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

}
