package com.zhgd.xmgl.modules.basicdata.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.zhgd.xmgl.modules.basicdata.entity.DustNoiseData;
import com.zhgd.xmgl.modules.basicdata.mapper.DustNoiseDataMapper;
import com.zhgd.xmgl.modules.basicdata.service.IDustNoiseDataService;
import org.springframework.stereotype.Service;

/**
 * @Description: 扬尘实时数据管理
 * @author： pds
 * @date：   2023-03-01
 * @version： V1.0
 */
@Service
public class DustNoiseDataServiceImpl extends ServiceImpl<DustNoiseDataMapper, DustNoiseData> implements IDustNoiseDataService {

    @Override
    public Page<DustNoiseData> pageList(Page page, Wrapper<DustNoiseData> wrapper) {
        return baseMapper.pageList(page, wrapper);
    }

    @Override
    public DustNoiseData getNewData(String deviceCode) {
        return baseMapper.getNewData(deviceCode);
    }
}
