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.DataDictionaryTypeCustomerRelationDao;
import com.friday.custody.entity.DataDictionaryTypeCustomerRelationEntity;
import com.friday.custody.service.basicService.DataDictionaryTypeCustomerRelationService;


@Service("dataDictionaryTypeCustomerRelationService")
public class DataDictionaryTypeCustomerRelationServiceImpl extends ServiceImpl<DataDictionaryTypeCustomerRelationDao, DataDictionaryTypeCustomerRelationEntity> implements DataDictionaryTypeCustomerRelationService {

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

        return new PageUtils(page);
    }

}