package com.huimv.acquisition.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huimv.acquisition.entity.DeviceTempEntity;
import com.huimv.acquisition.mapper.DeviceTempDao;
import com.huimv.acquisition.service.DeviceTempService;
import com.huimv.acquisition.utils.PageUtils;
import com.huimv.acquisition.utils.Query;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * 
 *
 * @author yinhao
 * @version ${version}
 * @date 2021-07-28 16:59:32
 */
@Service("deviceTempService")
public class DeviceTempServiceImpl extends ServiceImpl<DeviceTempDao, DeviceTempEntity> implements DeviceTempService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<DeviceTempEntity> page = this.page(
                new Query<DeviceTempEntity>().getPage(params),
                new QueryWrapper<DeviceTempEntity>()
        );







        return new PageUtils(page);
    }

}