package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 设备型号管理表Service
 *
 * @author 科技小王子
 * @since 2023-05-29 14:07:46
 */
public interface TowerModelService extends IService<TowerModel> {

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

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

    /**
     * 根据id查询
     *
     * @param categoryId 型号ID
     * @return TowerModel
     */
    TowerModel getByIdRel(Integer categoryId);

}
