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.DataDictionaryTypeCustomerAmacDao;
import com.friday.custody.entity.DataDictionaryTypeCustomerAmacEntity;
import com.friday.custody.service.basicService.DataDictionaryTypeCustomerAmacService;


@Service("dataDictionaryTypeCustomerAmacService")
public class DataDictionaryTypeCustomerAmacServiceImpl extends ServiceImpl<DataDictionaryTypeCustomerAmacDao, DataDictionaryTypeCustomerAmacEntity> implements DataDictionaryTypeCustomerAmacService {

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

        return new PageUtils(page);
    }

}