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.OwnerCaseOutDao;
import com.clx.performance.mapper.OwnerCaseOutMapper;
import com.clx.performance.model.OwnerCaseOut;
import com.clx.performance.param.pc.PageOwnerCaseOutListParam;
import com.clx.performance.vo.pc.OwnerCaseOutVO;
import com.msl.common.dao.impl.BaseDaoImpl;
import org.springframework.stereotype.Repository;

@Repository
public class OwnerCaseOutDaoImpl extends BaseDaoImpl<OwnerCaseOutMapper, OwnerCaseOut, Integer> implements OwnerCaseOutDao {
    @Override
    public IPage<OwnerCaseOutVO> ownerCaseOutPageList(PageOwnerCaseOutListParam param) {
        Page<OwnerCaseOutVO> page = Page.of(param.getPage(), param.getPageSize());
        return baseMapper.ownerCaseOutPageList(page, param);
    }
}
