package com.clx.performance.dao.impl.settle;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.clx.performance.dao.settle.SettlementPlatformServiceFeeDao;
import com.clx.performance.mapper.settle.SettlementPlatformServiceFeeMapper;
import com.clx.performance.model.settle.SettlementPlatformServiceFee;
import com.clx.performance.param.pc.owner.PageCarrierSettlementPlatformServiceFeeParam;
import com.msl.common.dao.impl.BaseDaoImpl;
import org.springframework.stereotype.Repository;


/**
 * @Author: aiqinguo
 * @Description:
 * @Date: 2023-10-11 18:04:09
 * @Version: 1.0
 */
@Repository
public class SettlementPlatformServiceFeeDaoImpl extends BaseDaoImpl<SettlementPlatformServiceFeeMapper,
        SettlementPlatformServiceFee, Integer> implements SettlementPlatformServiceFeeDao {

    @Override
    public IPage<SettlementPlatformServiceFee> pageByParam(PageCarrierSettlementPlatformServiceFeeParam param) {
        Page<SettlementPlatformServiceFee> page = Page.of(param.getPage(), param.getPageSize());
        return baseMapper.pageByParam(page,param);
    }
}
