com.wuyu.module.hunter.service.impl.ResumePairServiceImpl Maven / Gradle / Ivy
package com.wuyu.module.hunter.service.impl;
import java.util.List;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.github.dennisit.vplus.data.page.Pagination;
import com.github.dennisit.vplus.data.utils.PaginationUtils;
import com.wuyu.module.hunter.entity.ResumePair;
import com.wuyu.module.hunter.mapper.ResumePairMapper;
import com.wuyu.module.hunter.service.IResumePairService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
@Service
public class ResumePairServiceImpl extends ServiceImpl implements IResumePairService {
@Override
public Pagination selectPagination(Page page, Wrapper wrapper) {
return PaginationUtils.builder(selectPage(page, wrapper));
}
@Override
public List selectList(Page page, Wrapper wrapper) {
return PaginationUtils.items(selectPage(page, wrapper));
}
}