package com.nantian.cloud.jljc.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.nantian.cloud.jljc.entity.CompanyType;
import com.nantian.cloud.jljc.mapper.CompanyTypeMapper;
import com.nantian.cloud.jljc.service.CompanyTypeService;
import com.nantian.sc.cloud.common.data.datascope.DataScope;
import org.springframework.stereotype.Service;

/**
 *
 * @date 2018-09-27
 */
@Service("companyTypeService")
public class CompanyTypeServiceImpl extends ServiceImpl<CompanyTypeMapper, CompanyType> implements CompanyTypeService {

    @Override
    public IPage<CompanyType> getPageScope(Page page, CompanyType companyType) {
        //return baseMapper.getPageScope(page,companyType,new DataScope());
        return baseMapper.getPageScope(page,companyType);
    }
}

