package org.jeecg.modules.adweb.enquiry.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import jakarta.annotation.Resource;

import org.jeecg.modules.adweb.enquiry.entity.AdwebPublicBlackIp;
import org.jeecg.modules.adweb.enquiry.mapper.AdwebPublicBlackIpMapper;
import org.jeecg.modules.adweb.enquiry.service.IAdwebPublicBlackIpService;
import org.springframework.stereotype.Service;

/**
 * @Description: IP黑名单
 * @Author: jeecg-boot
 * @Date: 2023-02-20
 * @Version: V1.0
 */
@Service
public class AdwebPublicBlackIpServiceImpl
        extends ServiceImpl<AdwebPublicBlackIpMapper, AdwebPublicBlackIp>
        implements IAdwebPublicBlackIpService {

    @Resource private AdwebPublicBlackIpMapper adwebPublicBlackIpMapper;

    @Override
    public IPage<AdwebPublicBlackIp> pageList(
            Page<AdwebPublicBlackIp> page,
            String ip,
            Integer blackOrWhite,
            String column,
            String order) {
        return adwebPublicBlackIpMapper.pageList(page, ip, blackOrWhite, column, order);
    }
}
