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.AdvancedMaterial;
import com.nantian.cloud.jljc.mapper.AdvancedMaterialMapper;
import com.nantian.cloud.jljc.service.AdvancedMaterialService;
import com.nantian.sc.cloud.common.data.datascope.DataScope;
import org.springframework.stereotype.Service;

/**
 *
 * @date 2018-09-27
 */
@Service("advancedMaterialService")
public class AdvancedMaterialServiceImpl extends ServiceImpl<AdvancedMaterialMapper, AdvancedMaterial> implements AdvancedMaterialService {

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

