com.wuyu.module.hunter.service.impl.ResumeItemServiceImpl 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.ResumeItem;
import com.wuyu.module.hunter.mapper.ResumeItemMapper;
import com.wuyu.module.hunter.service.IResumeItemService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
@Service
public class ResumeItemServiceImpl extends ServiceImpl implements IResumeItemService {
@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));
}
}