package com.friday.custody.service.basicService.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.friday.custody.dao.SubscribeFundNotifierInfoDao;
import com.friday.custody.entity.SubscribeFundNotifierInfoEntity;
import com.friday.custody.service.basicService.SubscribeFundNotifierInfoService;
import com.friday.custody.utils.PageUtils;
import com.friday.custody.utils.Query;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service("subscribeFundNotifierInfoService")
public class SubscribeFundNotifierInfoServiceImpl extends ServiceImpl<SubscribeFundNotifierInfoDao, SubscribeFundNotifierInfoEntity> implements SubscribeFundNotifierInfoService {

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

        return new PageUtils(page);
    }

}