package com.gxwebsoft.tower.service;

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

import java.util.List;

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

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

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

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

}
