package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 派单详情Service
 *
 * @author 科技小王子
 * @since 2023-07-03 10:56:04
 */
public interface TowerWorksheetDetailService extends IService<TowerWorksheetDetail> {

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

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

    /**
     * 根据id查询
     *
     * @param detailId 
     * @return TowerWorksheetDetail
     */
    TowerWorksheetDetail getByIdRel(Integer detailId);

}
