package com.gxwebsoft.tower.mapper;

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

import java.util.List;

/**
 * 结算管理Mapper
 *
 * @author 科技小王子
 * @since 2023-06-11 19:19:10
 */
public interface TowerSettleMapper extends BaseMapper<TowerSettle> {

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

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

}
