package org.jeecg.modules.statistics.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.statistics.entity.BuFaultAnalysis;
import org.jeecg.modules.statistics.mapper.BuFaultAnalysisMapper;
import org.jeecg.modules.statistics.service.IBuFaultAnalysisService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description: 故障峰值分析表
 * @Author: jeecg-boot
 * @Date:   2021-08-02
 * @Version: V1.0
 */
@Service
public class BuFaultAnalysisServiceImpl extends ServiceImpl<BuFaultAnalysisMapper, BuFaultAnalysis> implements IBuFaultAnalysisService {

    @Autowired
    private BuFaultAnalysisMapper buFaultAnalysisMapper;

    @Override
    public BuFaultAnalysis getDataByIp(String ip) {
        return buFaultAnalysisMapper.getDataByIp(ip);
    }

}
