com.nebula.boxes.mould.service.impl.FirmServiceImpl Maven / Gradle / Ivy
The newest version!
package com.nebula.boxes.mould.service.impl;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.nebula.boxes.mould.entity.Firm;
import com.nebula.boxes.mould.mapper.FirmMapper;
import com.nebula.boxes.mould.service.IFirmService;
import com.spring.boxes.dollar.support.Pagination;
import com.spring.boxes.dollar.support.PaginationPlus;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@Slf4j
@Service
public class FirmServiceImpl extends ServiceImpl implements IFirmService {
@Override
public Pagination selectPagination(Page page, Wrapper wrapper) {
return PaginationPlus.builder(this.page(page, wrapper));
}
}