package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 车辆调度Service
 *
 * @author 科技小王子
 * @since 2023-10-31 12:05:49
 */
public interface TowerWorksheetCarDispatchService extends IService<TowerWorksheetCarDispatch> {

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

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

    /**
     * 根据id查询
     *
     * @param carDispatchId 
     * @return TowerWorksheetCarDispatch
     */
    TowerWorksheetCarDispatch getByIdRel(Integer carDispatchId);

}
