TrafficEventServiceImpl.java 845 Bytes
package com.viontech.service.impl;

import com.viontech.mapper.TrafficEventMapper;
import com.viontech.service.TrafficEventService;
import com.viontech.vo.traffic.LaneModel;
import com.viontech.vo.traffic.TrafficModel;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class TrafficEventServiceImpl implements TrafficEventService {
    @Autowired
    private TrafficEventMapper trafficEventMapper;
    @Override
    public List<Object> selectJsonDatas(TrafficModel trafficModel) {
        return trafficEventMapper.selectJsonDatas(trafficModel);
    }

    @Override
    public List<LaneModel> selectLaneDatas(LaneModel laneModel) {
        return trafficEventMapper.selectLaneDatas(laneModel);
    }
}