package tech.glinfo.enbao.modules.sh.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import tech.glinfo.enbao.common.utils.PageUtils;
import tech.glinfo.enbao.common.utils.Query;

import tech.glinfo.enbao.modules.sh.dao.ShDeviceTempDao;
import tech.glinfo.enbao.modules.sh.entity.ShDeviceTempEntity;
import tech.glinfo.enbao.modules.sh.service.ShDeviceTempService;


@Service("shDeviceTempService")
public class ShDeviceTempServiceImpl extends ServiceImpl<ShDeviceTempDao, ShDeviceTempEntity> implements ShDeviceTempService {

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

        return new PageUtils(page);
    }

}