package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 派单配件Service
 *
 * @author 科技小王子
 * @since 2023-07-03 10:18:57
 */
public interface TowerWorksheetPartsService extends IService<TowerWorksheetParts> {

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

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

    /**
     * 根据id查询
     *
     * @param partsId 
     * @return TowerWorksheetParts
     */
    TowerWorksheetParts getByIdRel(Integer partsId);

}
