package com.gxwebsoft.tower.service;

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

import java.util.List;

/**
 * 合同结算规则Service
 *
 * @author 科技小王子
 * @since 2023-06-11 13:48:41
 */
public interface TowerContractSettleRuleService extends IService<TowerContractSettleRule> {

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

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

    /**
     * 根据id查询
     *
     * @param contractSettleRuleId 
     * @return TowerContractSettleRule
     */
    TowerContractSettleRule getByIdRel(Integer contractSettleRuleId);

}
