package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 派单管理Service
 *
 * @author 科技小王子
 * @since 2023-07-02 16:15:31
 */
public interface TowerWorksheetService extends IService<TowerWorksheet> {

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

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

    /**
     * 根据id查询
     *
     * @param worksheetId 
     * @return TowerWorksheet
     */
    TowerWorksheet getByIdRel(Integer worksheetId);

}
