package com.clx.performance.dao.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clx.performance.dao.OwnerTopUpDao;
import com.clx.performance.mapper.OwnerTopUpMapper;
import com.clx.performance.model.OwnerTopUp;
import com.clx.performance.param.pc.PageOwnerTopUpListParam;
import com.clx.performance.vo.pc.OwnerTopUpVO;
import com.msl.common.dao.impl.BaseDaoImpl;
import org.springframework.stereotype.Repository;

@Repository
public class OwnerTopUpDaoImpl extends BaseDaoImpl<OwnerTopUpMapper, OwnerTopUp, Integer> implements OwnerTopUpDao {
    @Override
    public IPage<OwnerTopUpVO> ownerTopUpPageList(PageOwnerTopUpListParam param) {
        Page<OwnerTopUpVO> page = Page.of(param.getPage(), param.getPageSize());
        return baseMapper.ownerTopUpPageList(page, param);
    }
}
