package com.njcn.serviceimpl.data;

import com.njcn.mapper.data.DataLossMapper;
import com.njcn.pojo.data.DataLoss;
import com.njcn.service.data.DataLossService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DataLossServiceImpl implements DataLossService {
    @Autowired
    DataLossMapper dataLossMapper;

    @Override
    public List<DataLoss> getDataLoss() {
        return dataLossMapper.getDataLoss();
    }

    @Override
    public List<DataLoss> getDataAll(String start, String end, Long lineIndex) {
        return dataLossMapper.getDataAll(start,end,lineIndex);
    }

    @Override
    public List<DataLoss> getTj(String start, String end, Long lineIndex) {
        return dataLossMapper.getTj(start,end,lineIndex);
    }
}
