package io.renren.modules.aspen.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 io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.aspen.dao.TDashboarddayeleceightDao;
import io.renren.modules.aspen.entity.TDashboarddayeleceightEntity;
import io.renren.modules.aspen.service.TDashboarddayeleceightService;


@Service("tDashboarddayeleceightService")
public class TDashboarddayeleceightServiceImpl extends ServiceImpl<TDashboarddayeleceightDao, TDashboarddayeleceightEntity> implements TDashboarddayeleceightService {

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

        return new PageUtils(page);
    }

}