package com.securitycontrol.background.service.impl;

import com.securitycontrol.background.mapper.TowerRecordMapper;
import com.securitycontrol.background.service.TowerRecordService;
import com.securitycontrol.entity.background.vo.TowerRecordVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

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

/**
 * 组塔检测 - 检测记录
 * @author lsun
 */
@Service(value = "TowerRecordService")
@Slf4j
public class TowerRecordServiceImpl implements TowerRecordService {

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

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

}
