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.TDashboarddayelecDao;
import io.renren.modules.aspen.entity.TDashboarddayelecEntity;
import io.renren.modules.aspen.service.TDashboarddayelecService;


@Service("tDashboarddayelecService")
public class TDashboarddayelecServiceImpl extends ServiceImpl<TDashboarddayelecDao, TDashboarddayelecEntity> implements TDashboarddayelecService {

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

        return new PageUtils(page);
    }

}