package com.gxwebsoft.tower.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.tower.entity.TowerSettleDetail;
import com.gxwebsoft.tower.param.TowerSettleDetailParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 合同结算详情Mapper
 *
 * @author 科技小王子
 * @since 2023-06-11 19:13:12
 */
public interface TowerSettleDetailMapper extends BaseMapper<TowerSettleDetail> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<TowerSettleDetail>
     */
    List<TowerSettleDetail> selectPageRel(@Param("page") IPage<TowerSettleDetail> page,
                             @Param("param") TowerSettleDetailParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<TowerSettleDetail> selectListRel(@Param("param") TowerSettleDetailParam param);

}
