package com.friday.custody.service.basicService.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 com.friday.custody.utils.PageUtils;
import com.friday.custody.utils.Query;

import com.friday.custody.dao.DataDictionaryTypeCertificateRelationDao;
import com.friday.custody.entity.DataDictionaryTypeCertificateRelationEntity;
import com.friday.custody.service.basicService.DataDictionaryTypeCertificateRelationService;


@Service("dataDictionaryTypeCertificateRelationService")
public class DataDictionaryTypeCertificateRelationServiceImpl extends ServiceImpl<DataDictionaryTypeCertificateRelationDao, DataDictionaryTypeCertificateRelationEntity> implements DataDictionaryTypeCertificateRelationService {

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

        return new PageUtils(page);
    }

}