package com.securitycontrol.background.service.impl;


import com.securitycontrol.background.mapper.EarlyWarningRecordMapper;
import com.securitycontrol.background.service.EarlyWarningRecordService;
import com.securitycontrol.entity.background.vo.EarlyWarningRecordVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.*;

/**
 * 组塔检测 - 预警记录
 * @author lsun
 */
@Service(value = "EarlyWarningRecordService")
@Slf4j
public class EarlyWarningRecordServiceImpl implements EarlyWarningRecordService {

    @Resource(name = "EarlyWarningRecordMapper")
    private EarlyWarningRecordMapper mapper;

    @Override
    public List<EarlyWarningRecordVo> getEarlyWarningRecordLists(EarlyWarningRecordVo dto) {
        List<EarlyWarningRecordVo> list = new ArrayList<>();
        list = mapper.getEarlyWarningRecordLists(dto);
        return list;
    }

}
