package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 合同存档Service
 *
 * @author 科技小王子
 * @since 2023-06-08 22:36:47
 */
public interface TowerContractService extends IService<TowerContract> {

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

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

    /**
     * 根据id查询
     *
     * @param contractId 
     * @return TowerContract
     */
    TowerContract getByIdRel(Integer contractId);

}
