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.ShDeviceTimingDao;
import tech.glinfo.enbao.modules.sh.entity.ShDeviceTimingEntity;
import tech.glinfo.enbao.modules.sh.service.ShDeviceTimingService;


@Service("shDeviceTimingService")
public class ShDeviceTimingServiceImpl extends ServiceImpl<ShDeviceTimingDao, ShDeviceTimingEntity> implements ShDeviceTimingService {

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

        return new PageUtils(page);
    }

}